Permalink
Browse files

change graceful_exit to kill() with the same sig

  • Loading branch information...
1 parent 469c307 commit 615aed6ce3b86de74d1464a80d33b9e8ca79e25a @tj committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mon.c
View
@@ -87,7 +87,7 @@ alive(pid_t pid) {
void
graceful_exit(int sig) {
log("shutting down");
- kill(pid, SIGTERM);
+ kill(pid, sig);
exit(1);
}

0 comments on commit 615aed6

Please sign in to comment.