summaryrefslogtreecommitdiff
path: root/loginutils/sulogin.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-03 22:13:08 +0100
committerDenys Vlasenko2016-11-03 22:13:08 +0100
commit79e2598c48ad7e41d523f62368454c7d74f48268 (patch)
treeb061ea33e433dcd509a99dc9726251f2e0f785e5 /loginutils/sulogin.c
parent2b288236e80938d29324072a823f46861bd07cd3 (diff)
downloadbusybox-79e2598c48ad7e41d523f62368454c7d74f48268.zip
busybox-79e2598c48ad7e41d523f62368454c7d74f48268.tar.gz
su: expand help; simplify passing of -c CMD to run_shell()
Also, added a comment about bug 9401 (TIOCSTI input injection). function old new delta packed_usage 30909 30932 +23 su_main 470 487 +17 sulogin_main 260 258 -2 run_applet_and_exit 681 678 -3 run_shell 166 126 -40 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/sulogin.c')
-rw-r--r--loginutils/sulogin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c
index 6befea9..2e32e2b 100644
--- a/loginutils/sulogin.c
+++ b/loginutils/sulogin.c
@@ -89,5 +89,5 @@ int sulogin_main(int argc UNUSED_PARAM, char **argv)
shell = pwd->pw_shell;
/* Exec login shell with no additional parameters. Never returns. */
- run_shell(shell, 1, NULL, NULL);
+ run_shell(shell, 1, NULL);
}