diff options
Diffstat (limited to 'cmd/service/disable.c')
-rw-r--r-- | cmd/service/disable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/service/disable.c b/cmd/service/disable.c index 6210a8c..ffaab0a 100644 --- a/cmd/service/disable.c +++ b/cmd/service/disable.c @@ -4,6 +4,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> +#include <signal.h> #include <stdio.h> #include <errno.h> @@ -55,6 +56,8 @@ static int cmd_disable(int argc, char **argv) goto out; } + kill(1, SIGHUP); + ret = EXIT_SUCCESS; out: free(linkname); |