aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index 7bc0ce1e3b..00f8aa38e0 100644
--- a/process.c
+++ b/process.c
@@ -4569,7 +4569,7 @@ proc_daemon(int argc, VALUE *argv)
case 0:
break;
default:
- _exit(0);
+ _exit(EXIT_SUCCESS);
}
proc_setsid();
@@ -4581,7 +4581,7 @@ proc_daemon(int argc, VALUE *argv)
case 0:
break;
default:
- _exit(0);
+ _exit(EXIT_SUCCESS);
}
if (!RTEST(nochdir))