]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (tim) [session.c] Improve error reporting on set_id().
authorTim Rice <tim@multitalents.net>
Thu, 23 Jan 2014 03:16:10 +0000 (19:16 -0800)
committerTim Rice <tim@multitalents.net>
Thu, 23 Jan 2014 03:16:10 +0000 (19:16 -0800)
ChangeLog
session.c

index b4a81f996b604358ecc5e4a8f5f4013a09ef000a..962caf079ced30ec5d0fcd3346c155dfc67414dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 6be16ca86ce0497aec58a2fcd9b9f3a2c5121bc3..12dd9ab102beccf515abadcceb343a18fd775768 100644 (file)
--- a/session.c
+++ b/session.c
@@ -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. */