From 5c3e5d801b7ea536f6ea4a993076965c978f0e81 Mon Sep 17 00:00:00 2001
From: William Hubbs <w.d.hubbs@gmail.com>
Date: Mon, 26 Aug 2013 17:09:18 -0500
Subject: 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.
---
 src/rc/start-stop-daemon.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src')

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)
-- 
cgit v1.2.3