author | Antonio Russo <antonio.e.russo@gmail.com> | |
Tue, 16 Feb 2016 19:22:48 +0000 (11:22 -0800) | ||
committer | Antonio Russo <antonio.e.russo@gmail.com> | |
Tue, 16 Feb 2016 19:33:48 +0000 (11:33 -0800) | ||
commit | 53de2cf4354da65843104ea430d6fdf0375a0c64 | |
tree | d754ce4cd3b82b6c5ce97fb66d038ad3ba21a3ca | tree | snapshot |
parent | 00f9279d9711c9882b65d54fd72c2f25a3f403fc | commit | diff |
Suppress successful putval responses to exec plugin
exec plugins are never supposed to receive responses
to putval commands. These responses are instead sent
to STDOUT, which is often attached to /dev/null.
Newer init systems, such as systemd, instead log
these responses.
This patch preserves the expected behavior by suppressing
the response if and only if the destination is STDOUT.
exec plugins are never supposed to receive responses
to putval commands. These responses are instead sent
to STDOUT, which is often attached to /dev/null.
Newer init systems, such as systemd, instead log
these responses.
This patch preserves the expected behavior by suppressing
the response if and only if the destination is STDOUT.
src/utils_cmd_putval.c | diff | blob | history |