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:
parent
bb8a9c087d
commit
5c3e5d801b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user