[git commit] sulogin: util-linux does not say "normal startup" on Ctrl-D
Denys Vlasenko
vda.linux at googlemail.com
Thu Jan 13 00:43:11 UTC 2022
commit: https://git.busybox.net/busybox/commit/?id=b3eec1651fb02d70716caa355f49320719f74c75
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
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 at googlemail.com>
---
loginutils/sulogin.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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)
);
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) {
More information about the busybox-cvs
mailing list