Fixed an unused result compiler error

This commit is contained in:
Mihai Varga 2015-05-15 09:23:21 +03:00
parent e2dc523b11
commit 7122e97382

View file

@ -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
}