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>
This commit is contained in:
parent
96771ec5f5
commit
b3eec1651f
@ -71,7 +71,8 @@ int sulogin_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
);
|
);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
/* ^D, ^C, timeout, or read error */
|
/* ^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;
|
return 0;
|
||||||
}
|
}
|
||||||
if (r > 0) {
|
if (r > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user