Fixed an unused result compiler error
This commit is contained in:
parent
e2dc523b11
commit
7122e97382
1 changed files with 3 additions and 1 deletions
|
@ -555,7 +555,9 @@ namespace
|
|||
else
|
||||
uid = 65534;
|
||||
}
|
||||
setuid(uid);
|
||||
if (setuid(uid) != 0) {
|
||||
Application::instance().logger().error(std::string("setuid() failed: ") + strerror(errno));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue