--- a/src/tools.cc
+++ b/src/tools.cc
@@ -582,7 +582,8 @@ enter_suid(void)
}
#else
- setuid(0);
+ if (setuid(0) < 0)
+ debugs(50, 1, "no_suid: setuid (0)");
#endif
#if HAVE_PRCTL && defined(PR_SET_DUMPABLE)
/* Set Linux DUMPABLE flag */