Ticket #48816: patch-sudo.c.diff
File patch-sudo.c.diff, 545 bytes (added by youvegotmoxie@…, 9 years ago) |
---|
-
src/sudo.c
1023 1023 goto done; 1024 1024 } 1025 1025 #else 1026 if (seteuid(details->euid) != 0 || setuid(details->euid) != 0) {1027 sudo_warn(U_("unable to change to runas uid (%u, %u)"), details->uid,1028 1026 if (seteuid(details->euid) != 0) { 1027 sudo_warn(U_("unable to change to runas uid (%u, %u)"), 1028 (unsigned int)details->euid, (unsigned int)details->euid); 1029 1029 goto done; 1030 1030 } 1031 1031 #endif /* !HAVE_SETRESUID && !HAVE_SETREUID */