summaryrefslogtreecommitdiffstats
path: root/rfc3195d.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc3195d.c')
-rw-r--r--rfc3195d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rfc3195d.c b/rfc3195d.c
index aff32bbd..1bcbfd84 100644
--- a/rfc3195d.c
+++ b/rfc3195d.c
@@ -60,7 +60,7 @@ static int usage()
* currently actually do...
fprintf(stderr, "usage: rfc3195d [-dv] [-i pidfile] [-n] [-p path]\n");
*/
- fprintf(stderr, "usage: rfc3195d [-p path]\n");
+ fprintf(stderr, "usage: rfc3195d [-dv] [-p path]\n");
exit(1);
}
@@ -208,6 +208,7 @@ int main(int argc, char* argv[])
if(!Debug)
signal(SIGINT, SIG_IGN);
signal(SIGUSR1, doShutdown);
+ signal(SIGTERM, doShutdown);
if((pAPI = srAPIInitLib()) == NULL)
{