aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-10-05 18:31:07 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-10-05 18:31:07 -0500
commit1e9af2cd421423404ffe1491bd35af76c2885f1f (patch)
treee663162f233e7ea808e1f08bf8e798dfc95efeb2 /src/rc
parent3c05db74f6e733890e9035c183a774db3d512512 (diff)
fix compiler warning
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-schedules.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc/rc-schedules.c b/src/rc/rc-schedules.c
index 9568e51d..d60c2822 100644
--- a/src/rc/rc-schedules.c
+++ b/src/rc/rc-schedules.c
@@ -408,11 +408,12 @@ int run_stop_schedule(const char *applet,
if (progressed)
printf("\n");
- if (! quiet)
+ if (! quiet) {
if (nrunning == 1)
eerror("%s: %d process refused to stop", applet, nrunning);
else
eerror("%s: %d process(es) refused to stop", applet, nrunning);
+ }
return -nrunning;
}