diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-13 01:43:11 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-13 01:43:11 +0100 |
commit | b3eec1651fb02d70716caa355f49320719f74c75 (patch) | |
tree | fcb56336b78742b137cd868e2336effca1cc4540 | |
parent | 96771ec5f5fb81b479973fbd25af48c5cb83b2bb (diff) | |
download | busybox-w32-b3eec1651fb02d70716caa355f49320719f74c75.tar.gz busybox-w32-b3eec1651fb02d70716caa355f49320719f74c75.tar.bz2 busybox-w32-b3eec1651fb02d70716caa355f49320719f74c75.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index 56b88c086..c9817960c 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c | |||
@@ -71,7 +71,8 @@ int sulogin_main(int argc UNUSED_PARAM, char **argv) | |||
71 | ); | 71 | ); |
72 | if (r < 0) { | 72 | if (r < 0) { |
73 | /* ^D, ^C, timeout, or read error */ | 73 | /* ^D, ^C, timeout, or read error */ |
74 | bb_simple_info_msg("normal startup"); | 74 | /* util-linux 2.36.1 compat: no message */ |
75 | /*bb_simple_info_msg("normal startup");*/ | ||
75 | return 0; | 76 | return 0; |
76 | } | 77 | } |
77 | if (r > 0) { | 78 | if (r > 0) { |