summaryrefslogtreecommitdiffhomepage
path: root/cli-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-main.c')
-rw-r--r--cli-main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli-main.c b/cli-main.c
index 9506759..3cfc02d 100644
--- a/cli-main.c
+++ b/cli-main.c
@@ -164,11 +164,11 @@ static void cli_proxy_cmd(int *sock_in, int *sock_out, pid_t *pid_out) {
}
}
-static void killchild(int signo)
-{
+static void killchild(int signo) {
kill_proxy_command();
- if (signo)
+ if (signo) {
_exit(1);
+ }
exit(1);
}
#endif /* ENABLE_CLI_PROXYCMD */