aboutsummaryrefslogtreecommitdiff
path: root/src/com_stop.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-05-17 16:52:43 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-05-17 16:52:43 +0300
commit77fd1d9465ab1eb6431d8b0c5f570c9dc92b5dcf (patch)
tree567284867495ac56cbd26c7f60e1bd5f857b763a /src/com_stop.c
parent6627f1c1d8acc2d53a9502a096123c0163bf731a (diff)
downloadgenrc-77fd1d9465ab1eb6431d8b0c5f570c9dc92b5dcf.tar.gz
genrc-77fd1d9465ab1eb6431d8b0c5f570c9dc92b5dcf.tar.bz2
New option: --verbose
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
@@ -35,6 +35,9 @@ com_stop(void)
return 1;
}
+ if (genrc_verbose)
+ printf("Stopping %s\n", genrc_program);
+
gettimeofday(&stoptime, NULL);
stoptime.tv_sec += genrc_timeout;
ratio = 1;

Return to:

Send suggestions and report system problems to the System administrator.