*: remove LOG_NOWAIT

This commit is contained in:
Denis Vlasenko 2009-03-11 15:59:49 +00:00
parent 4221e90ae4
commit 54ac03a618
3 changed files with 3 additions and 3 deletions

View File

@ -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) */

View File

@ -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;

View File

@ -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;
}