aboutsummaryrefslogtreecommitdiff
path: root/src/com_start.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_start.c
parent6627f1c1d8acc2d53a9502a096123c0163bf731a (diff)
downloadgenrc-77fd1d9465ab1eb6431d8b0c5f570c9dc92b5dcf.tar.gz
genrc-77fd1d9465ab1eb6431d8b0c5f570c9dc92b5dcf.tar.bz2
New option: --verbose
Diffstat (limited to 'src/com_start.c')
-rw-r--r--src/com_start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com_start.c b/src/com_start.c
index 93c324e..65c1775 100644
--- a/src/com_start.c
+++ b/src/com_start.c
@@ -98,6 +98,9 @@ com_start(void)
}
}
+ if (genrc_verbose)
+ printf("Starting %s\n", genrc_program);
+
if ((p = getenv("GENRC_SENTINEL")) && *p == '1')
return sentinel();

Return to:

Send suggestions and report system problems to the System administrator.