summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 15cc90228..49fbcec7d 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -78,7 +78,7 @@ static void sig_proc(int sn)
case SIGINT:
case SIGTERM:
if (++is_called > 3)
- exit(0);
+ exit(EXIT_SUCCESS);
runflag = 0;
break;
case SIGSEGV: