Remove some pointless if statements

This commit is contained in:
Kyle Fuller
2011-03-27 23:21:28 +01:00
parent e62ec2dc82
commit d735e9d881
7 changed files with 10 additions and 48 deletions
+1 -4
View File
@@ -69,10 +69,7 @@ static void signalHandler(int sig) {
static bool isRoot() {
// User root? If one of these were root, we could switch the others to root, too
if (geteuid() == 0 || getuid() == 0)
return true;
return false;
return (geteuid() == 0 || getuid() == 0);
}
static void seedPRNG() {