diff options
author | smitsohu <smitsohu@gmail.com> | 2021-05-16 16:08:58 +0200 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2021-05-16 16:09:23 +0200 |
commit | 57c0c21e09f453771694eb33b77a212791c98a71 (patch) | |
tree | be849c609132b475e9a0fc5d5f28051e8c6d8342 /src/firemon | |
parent | fix utmp error message (diff) | |
download | firejail-57c0c21e09f453771694eb33b77a212791c98a71.tar.gz firejail-57c0c21e09f453771694eb33b77a212791c98a71.tar.zst firejail-57c0c21e09f453771694eb33b77a212791c98a71.zip |
fix firemon signal handler - #4274
Diffstat (limited to 'src/firemon')
-rw-r--r-- | src/firemon/firemon.c | 2 |
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 |