From 1e9af2cd421423404ffe1491bd35af76c2885f1f Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 5 Oct 2017 18:31:07 -0500 Subject: fix compiler warning --- src/rc/rc-schedules.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rc/rc-schedules.c') 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; } -- cgit v1.2.3