summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index e701fef4..f8804586 100644
--- a/daemon.c
+++ b/daemon.c
@@ -28,7 +28,7 @@ int daemon(int nochdir, int noclose)
case 0: /* child side */
break;
default: /* parent side */
- exit(0);
+ exit(EXIT_SUCCESS);
}
/*@ +type @*/