* Fixed syslog permissions.
* Some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34177 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
411d718eec
commit
752639885a
@ -84,7 +84,7 @@ prepare_output()
|
||||
bool haveSyslog = sLog >= 0;
|
||||
|
||||
// open file
|
||||
sLog = open(syslog.Path(), O_APPEND | O_CREAT | O_WRONLY, 644);
|
||||
sLog = open(syslog.Path(), O_APPEND | O_CREAT | O_WRONLY, 0644);
|
||||
if (!haveSyslog && sLog >= 0) {
|
||||
// first time open, check file size again
|
||||
prepare_output();
|
||||
|
Loading…
Reference in New Issue
Block a user