summaryrefslogtreecommitdiffabout
path: root/src/com_stop.c
authorSergey Poznyakoff <gray@gnu.org>2018-05-17 13:52:43 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-05-17 13:52:43 (GMT)
commit77fd1d9465ab1eb6431d8b0c5f570c9dc92b5dcf (patch) (side-by-side diff)
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') (more/less context) (ignore whitespace changes)
-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.