*: remove LOG_NOWAIT
This commit is contained in:
parent
4221e90ae4
commit
54ac03a618
@ -342,7 +342,7 @@ int login_main(int argc UNUSED_PARAM, char **argv)
|
||||
/* Was breaking "login <username>" from shell command line: */
|
||||
/*bb_setpgrp();*/
|
||||
|
||||
openlog(applet_name, LOG_PID | LOG_CONS | LOG_NOWAIT, LOG_AUTH);
|
||||
openlog(applet_name, LOG_PID | LOG_CONS, LOG_AUTH);
|
||||
|
||||
while (1) {
|
||||
/* flush away any type-ahead (as getty does) */
|
||||
|
@ -100,7 +100,7 @@ int passwd_main(int argc UNUSED_PARAM, char **argv)
|
||||
#endif
|
||||
|
||||
logmode = LOGMODE_BOTH;
|
||||
openlog(applet_name, LOG_NOWAIT, LOG_AUTH);
|
||||
openlog(applet_name, 0, LOG_AUTH);
|
||||
opt = getopt32(argv, "a:lud", &opt_a);
|
||||
//argc -= optind;
|
||||
argv += optind;
|
||||
|
@ -1119,7 +1119,7 @@ int inetd_main(int argc UNUSED_PARAM, char **argv)
|
||||
else
|
||||
bb_sanitize_stdio();
|
||||
if (!(opt & 4)) {
|
||||
openlog(applet_name, LOG_PID | LOG_NOWAIT, LOG_DAEMON);
|
||||
openlog(applet_name, LOG_PID, LOG_DAEMON);
|
||||
logmode = LOGMODE_SYSLOG;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user