summaryrefslogtreecommitdiff
path: root/src/daemon.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2012-09-25 11:45:31 +0000
committerChristian Pointner <equinox@anytun.org>2012-09-25 11:45:31 +0000
commit4dda2b162fdab27197f371bb85842da581aee834 (patch)
treef0b10a52e541160c1739444923066c83e1c491ff /src/daemon.h
parentconfigure script cleanup (diff)
-Wall cleanup
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 0113fcd..9e6f1b2 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -122,6 +122,8 @@ int do_chroot(const char* chrootdir)
log_printf(ERROR, "can't change to /: %s", strerror(errno));
return -1;
}
+
+ return 0;
}
void daemonize()