summaryrefslogtreecommitdiff
path: root/src/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.h')
-rw-r--r--src/daemon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon.h b/src/daemon.h
index 7a287fe..0657d75 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -111,6 +111,8 @@ int do_chroot(const char* chrootdir)
log_printf(ERROR, "can't change to /: %s", strerror(errno));
return -1;
}
+
+ return 0;
}
void daemonize()