Make jj's patch build
This commit is contained in:
parent
e863227099
commit
35e5812448
|
@ -2122,7 +2122,7 @@ void oidentd_dump(bip_t *bip)
|
|||
char tag_written = 0;
|
||||
|
||||
if (stat(bip->oidentdpath, &stats) == -1) {
|
||||
if (errno == ENOENT && (f = fopen(bip->oidentdpath, "w+")))
|
||||
if (errno == ENOENT && (f = fopen(bip->oidentdpath, "w+"))) {
|
||||
fchmod(fileno(f), 0644);
|
||||
} else {
|
||||
mylog(LOG_WARN, "Can't open/create %s",
|
||||
|
|
Loading…
Reference in New Issue