← Commit list

2a17fbe88

Denys Vlasenko
Denys Vlasenko
2016-03-30
SUCCESS Duration: 181s

Subject

sulogin: use bb_error_msg instead of bb_info_msg; better message

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

loginutils/sulogin.c+3 -3
@@ -69,17 +69,17 @@ int sulogin_main(int argc UNUSED_PARAM, char **argv)
);
if (r < 0) {
/* ^D, ^C, timeout, or read error */
- bb_info_msg("Normal startup");
+ bb_error_msg("normal startup");
return 0;
}
if (r > 0) {
break;
}
bb_do_delay(LOGIN_FAIL_DELAY);
- bb_info_msg("Login incorrect");
+ bb_error_msg("Login incorrect");
}
- bb_info_msg("System Maintenance Mode");
+ bb_error_msg("starting shell for system maintenance");
IF_SELINUX(renew_current_security_context());