From: Thomas Jarosch Date: Tue, 12 Aug 2008 15:30:34 +0000 (+0000) Subject: libi2ncommon: (tomj) add missing default return value to drop_root_privileges() X-Git-Tag: v2.6~157 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=e43beb912503f73debe7fd4b715adb3361d36f5d;p=libi2ncommon libi2ncommon: (tomj) add missing default return value to drop_root_privileges() --- diff --git a/src/daemonfunc.cpp b/src/daemonfunc.cpp index d6ecad9..170bf67 100644 --- a/src/daemonfunc.cpp +++ b/src/daemonfunc.cpp @@ -77,6 +77,8 @@ bool drop_root_privileges(const std::string &username, if (setuid(my_user.Uid)) return false; } + + return true; } /**