common: Add kludge to allow silencing gnupg_exec_tool_stream.
authorWerner Koch <wk@gnupg.org>
Wed, 30 Jan 2019 13:38:37 +0000 (14:38 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 30 Jan 2019 13:38:37 +0000 (14:38 +0100)
commit1fd3d864b4eceaf45b33e754e5d832b7ccc0d17f
treea7d4265c7f89d249741ec36a44c8123f74a9d7b3
parent346a98fabe03adf2e202e36fc2aa24b1c2571154
common: Add kludge to allow silencing gnupg_exec_tool_stream.

* common/exectool.c (read_and_log_buffer_t): Take care of a --quiet
argument.
(gnupg_exec_tool_stream): Ditto.
--

If we pass --quiet to a program it should really shutup and the parent
should be quite as well.
common/exectool.c