Add LOG_NDELAY flag to openlog(3) - we want descriptor to be immediately open
so there are no surprises once we start chrooting or using capsicum. MFC after: 1 week
This commit is contained in:
parent
c1410d7a90
commit
c62457374f
@ -59,7 +59,7 @@ pjdlog_mode_set(int mode)
|
||||
pjdlog_mode = mode;
|
||||
|
||||
if (mode == PJDLOG_MODE_SYSLOG)
|
||||
openlog(NULL, LOG_PID, LOG_DAEMON);
|
||||
openlog(NULL, LOG_PID | LOG_NDELAY, LOG_DAEMON);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user