From e43beb912503f73debe7fd4b715adb3361d36f5d Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 12 Aug 2008 15:30:34 +0000 Subject: [PATCH] libi2ncommon: (tomj) add missing default return value to drop_root_privileges() --- src/daemonfunc.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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; } /** -- 1.7.1