Commit 568ea33a authored by Julian Rother's avatar Julian Rother

Fixed overwrite_check

parent 9ae62a73
......@@ -9,6 +9,6 @@ void overwrite_check(char *path)
if (stat(path, &s) || !s.st_size)
return; /* We can overwrite non-existing or empty files */
if (s.st_uid != getuid())
job_failed("Refusing to overwrite output file \"%s\": File was not created by worker");
job_failed("Refusing to overwrite output file \"%s\": File was not created by worker", path);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment