configfiles: Fix utime retcode check

In final fixups for #7139 it seems I managed to screw up utime error
checks. Everything still works, but we MP_WARN when we don't need to.
This commit is contained in:
Chris Down 2019-12-30 20:28:04 +00:00 committed by wm4
parent fcf0b80dc9
commit b721f9d095
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ static bool copy_mtime(const char *f1, const char *f2)
.modtime = st1.st_mtime,
};
if (!utime(f2, &ut))
if (utime(f2, &ut) != 0)
return false;
return true;