changed some exit codes so the run script can dtrt
This commit is contained in:
parent
cf5020c87b
commit
0ab359ffd6
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
|||
static void exit_sighup(int signal) {
|
||||
assert(signal == SIGHUP);
|
||||
LOG_CS << "SIGHUP caught, exiting without cleanup immediately.\n";
|
||||
exit(1);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
static void exit_sigint(int signal) {
|
||||
|
@ -73,7 +73,7 @@ static void exit_sigint(int signal) {
|
|||
static void exit_sigterm(int signal) {
|
||||
assert(signal == SIGTERM);
|
||||
LOG_CS << "SIGTERM caught, exiting without cleanup immediately.\n";
|
||||
exit(1);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
|
Loading…
Add table
Reference in a new issue