aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/firemon.c
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2021-05-16 16:08:58 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2021-05-16 16:09:23 +0200
commit57c0c21e09f453771694eb33b77a212791c98a71 (patch)
treebe849c609132b475e9a0fc5d5f28051e8c6d8342 /src/firemon/firemon.c
parentfix utmp error message (diff)
downloadfirejail-57c0c21e09f453771694eb33b77a212791c98a71.tar.gz
firejail-57c0c21e09f453771694eb33b77a212791c98a71.tar.zst
firejail-57c0c21e09f453771694eb33b77a212791c98a71.zip
fix firemon signal handler - #4274
Diffstat (limited to 'src/firemon/firemon.c')
-rw-r--r--src/firemon/firemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c
index 37870747d..6c34cd411 100644
--- a/src/firemon/firemon.c
+++ b/src/firemon/firemon.c
@@ -52,7 +52,7 @@ static void my_handler(int s){
52 52
53 if (terminal_set) 53 if (terminal_set)
54 tcsetattr(0, TCSANOW, &tlocal); 54 tcsetattr(0, TCSANOW, &tlocal);
55 exit(0); 55 _exit(0);
56} 56}
57 57
58// find the second child process for the specified pid 58// find the second child process for the specified pid