aboutsummaryrefslogtreecommitdiff
path: root/src/com_stop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/com_stop.c')
-rw-r--r--src/com_stop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com_stop.c b/src/com_stop.c
index 1cb4452..d57fa5e 100644
--- a/src/com_stop.c
+++ b/src/com_stop.c
@@ -32,12 +32,15 @@ com_stop(void)
if (pids.pidc == 0) {
genrc_error("%s not running", genrc_program);
return 1;
}
+ if (genrc_verbose)
+ printf("Stopping %s\n", genrc_program);
+
gettimeofday(&stoptime, NULL);
stoptime.tv_sec += genrc_timeout;
ratio = 1;
while (pids.pidc) {
gettimeofday(&before, NULL);
if (timercmp(&before, &stoptime, >))

Return to:

Send suggestions and report system problems to the System administrator.