blob: 670188999b7d164f625d1180d07151fc76b16bec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- proxy/Main.cc.orig 2013-03-16 00:18:53.518050709 -0700
+++ proxy/Main.cc 2013-03-16 00:19:48.221925918 -0700
@@ -1310,7 +1310,8 @@
char *buf = (char *)ats_malloc(buflen);
- if (0 != geteuid() && 0 == getuid()) seteuid(0); // revert euid if possible.
+ if (0 != geteuid() && 0 == getuid())
+ NOWARN_UNUSED_RETURN(seteuid(0)); // revert euid if possible.
if (0 != geteuid()) {
// Not root so can't change user ID. Logging isn't operational yet so
// we have to write directly to stderr. Perhaps this should be fatal?
|