commit: 1e9af2cd421423404ffe1491bd35af76c2885f1f
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Oct 5 23:31:07 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Oct 5 23:31:07 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1e9af2cd
fix compiler warning
src/rc/rc-schedules.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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;
}