corrected exit code handling
This commit is contained in:
parent
f8af3c190a
commit
a323ecdd53
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ static void exit_sighup(int signal) {
|
|||
static void exit_sigint(int signal) {
|
||||
assert(signal == SIGINT);
|
||||
LOG_CS << "SIGINT caught, exiting without cleanup immediately.\n";
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
static void exit_sigterm(int signal) {
|
||||
|
|
Loading…
Add table
Reference in a new issue