- (tim) [session.c] Improve error reporting on set_id().
This commit is contained in:
parent
5c2ff5e31f
commit
617da33c20
|
@ -1,3 +1,6 @@
|
||||||
|
20130123
|
||||||
|
- (tim) [session.c] Improve error reporting on set_id().
|
||||||
|
|
||||||
20130122
|
20130122
|
||||||
- (djm) [openbsd-compat/setproctitle.c] Don't fail to compile if a
|
- (djm) [openbsd-compat/setproctitle.c] Don't fail to compile if a
|
||||||
platform that is expected to use the reuse-argv style setproctitle
|
platform that is expected to use the reuse-argv style setproctitle
|
||||||
|
|
|
@ -1554,7 +1554,7 @@ do_setusercontext(struct passwd *pw)
|
||||||
#else
|
#else
|
||||||
# ifdef USE_LIBIAF
|
# ifdef USE_LIBIAF
|
||||||
if (set_id(pw->pw_name) != 0) {
|
if (set_id(pw->pw_name) != 0) {
|
||||||
exit(1);
|
fatal("set_id(%s) Failed", pw->pw_name);
|
||||||
}
|
}
|
||||||
# endif /* USE_LIBIAF */
|
# endif /* USE_LIBIAF */
|
||||||
/* Permanently switch to the desired uid. */
|
/* Permanently switch to the desired uid. */
|
||||||
|
|
Loading…
Reference in New Issue