login: remove extra IF(), no code changes
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 2 May 2019 15:13:20 +0000 (17:13 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 2 May 2019 15:13:20 +0000 (17:13 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/login.c

index 4df651cc64ce35ee42ad11228220e4122f8302ef..a08642a34d678aa3be9bf97d200b089537723854 100644 (file)
@@ -534,7 +534,7 @@ int login_main(int argc UNUSED_PARAM, char **argv)
                        wait_for_exitstatus(child_pid);
                        update_utmp_DEAD_PROCESS(child_pid);
                }
-               IF_PAM(login_pam_end(pamh);)
+               login_pam_end(pamh);
                return 0;
        }
 #endif