aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-08-26 17:09:18 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-08-26 17:09:18 -0500
commit5c3e5d801b7ea536f6ea4a993076965c978f0e81 (patch)
treeef5e330c0b612e8efa3e712e344e585f0f87c2c3 /src
parentbb8a9c087d20ee6454e2b6bf4713ec0ce9db94f3 (diff)
start-stop-daemon: remove redundant test of the quiet value
The einfo() function tests for the EINFO_QUIET environment variable directly, and this is the variable that is set by the --quiet flag, so there was no reason for this test to exist.
Diffstat (limited to 'src')
-rw-r--r--src/rc/start-stop-daemon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index 4b9fcdd0..ca40da6e 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -355,8 +355,7 @@ do_stop(const char *exec, const char *const *argv,
LIST_FOREACH_SAFE(pi, pids, entries, np) {
if (test) {
- if (!quiet)
- einfo("Would send signal %d to PID %d", sig, pi->pid);
+ einfo("Would send signal %d to PID %d", sig, pi->pid);
nkilled++;
} else {
if (verbose)