summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2022-01-13 01:43:11 +0100
committerDenys Vlasenko2022-01-13 01:43:11 +0100
commitb3eec1651fb02d70716caa355f49320719f74c75 (patch)
treefcb56336b78742b137cd868e2336effca1cc4540
parent96771ec5f5fb81b479973fbd25af48c5cb83b2bb (diff)
downloadbusybox-b3eec1651fb02d70716caa355f49320719f74c75.zip
busybox-b3eec1651fb02d70716caa355f49320719f74c75.tar.gz
sulogin: util-linux does not say "normal startup" on Ctrl-D
function old new delta sulogin_main 341 331 -10 .rodata 104327 104312 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-25) Total: -25 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--loginutils/sulogin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c
index 56b88c0..c981796 100644
--- a/loginutils/sulogin.c
+++ b/loginutils/sulogin.c
@@ -71,7 +71,8 @@ int sulogin_main(int argc UNUSED_PARAM, char **argv)
);
if (r < 0) {
/* ^D, ^C, timeout, or read error */
- bb_simple_info_msg("normal startup");
+ /* util-linux 2.36.1 compat: no message */
+ /*bb_simple_info_msg("normal startup");*/
return 0;
}
if (r > 0) {