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.
This commit is contained in:
William Hubbs 2013-08-26 17:09:18 -05:00
parent bb8a9c087d
commit 5c3e5d801b

View File

@ -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)