r18438@cathode-dark-space: tlyu | 2006-08-15 15:27:08 -0400
ticket: 4137
* src/clients/ksu/main.c (sweep_up): Don't check return value of
krb5_seteuid(0), as it is not harmful for it to fail, and it will
fail after setuid(target_user). Correct error message.
ticket: 4138
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@18440
dc483132-0cff-0310-8789-
dd5450dbe970
const char * cc_name;
struct stat st_temp;
- if (krb5_seteuid(0) < 0 || krb5_seteuid(target_uid) < 0) {
+ krb5_seteuid(0);
+ if (krb5_seteuid(target_uid) < 0) {
com_err(prog_name, errno,
- "while returning to source uid for destroying ccache");
+ "while changing to target uid for destroying ccache");
exit(1);
}