aboutsummaryrefslogtreecommitdiffstats
path: root/src/application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.c')
-rw-r--r--src/application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.c b/src/application.c
index 8a325c8a..4112e75c 100644
--- a/src/application.c
+++ b/src/application.c
@@ -124,7 +124,7 @@ int osmo_daemonize(void)
/* Check if parent PID == init, in which case we are already a daemon */
if (getppid() == 1)
- return -EEXIST;
+ return 0;
/* Fork from the parent process */
pid = fork();