diff options
author | tim <tim> | 2014-01-23 03:16:10 +0000 |
---|---|---|
committer | tim <tim> | 2014-01-23 03:16:10 +0000 |
commit | 3e4ba92f09634755c396140fff64db7376f4e187 (patch) | |
tree | a2c3f70924d62871d8e6fed87fda186b45f58bf4 | |
parent | 99e6f38f908eddf7808b265989908f0f2091ea72 (diff) | |
download | openssh-3e4ba92f09634755c396140fff64db7376f4e187.tar.gz |
- (tim) [session.c] Improve error reporting on set_id().
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | session.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +20130123 + - (tim) [session.c] Improve error reporting on set_id(). + 20130122 - (djm) [openbsd-compat/setproctitle.c] Don't fail to compile if a platform that is expected to use the reuse-argv style setproctitle @@ -1554,7 +1554,7 @@ do_setusercontext(struct passwd *pw) #else # ifdef USE_LIBIAF if (set_id(pw->pw_name) != 0) { - exit(1); + fatal("set_id(%s) Failed", pw->pw_name); } # endif /* USE_LIBIAF */ /* Permanently switch to the desired uid. */ |