[git commit] login: remove extra IF(), no code changes

Denys Vlasenko vda.linux at googlemail.com
Thu May 2 15:13:20 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=b052dbea54e2226ea49b9f3bdec3f6bccf879030
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 loginutils/login.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loginutils/login.c b/loginutils/login.c
index 4df651cc6..a08642a34 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -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


More information about the busybox-cvs mailing list