diff options
Diffstat (limited to 'daemon.h')
-rw-r--r-- | daemon.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -13,7 +13,7 @@ * message authentication based on the methodes used by SRTP. It is * intended to deliver a generic, scaleable and secure solution for * tunneling and relaying of packets of any protocol. - * + * * * Copyright (C) 2007-2008 Christian Pointner <equinox@anytun.org> * @@ -105,7 +105,6 @@ int priv_drop(priv_info_t* priv) return 0; } - int do_chroot(const char* chrootdir) { if(getuid() != 0) { @@ -122,6 +121,7 @@ int do_chroot(const char* chrootdir) log_printf(ERROR, "can't change to /: %s", strerror(errno)); return -1; } + return 0; } void daemonize() @@ -170,4 +170,3 @@ void daemonize() } #endif - |