Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
ffworker
Commits
568ea33a
Commit
568ea33a
authored
Nov 27, 2017
by
Julian Rother
Browse files
Fixed overwrite_check
parent
9ae62a73
Changes
1
Hide whitespace changes
Inline
Side-by-side
util/overwrite_check.c
View file @
568ea33a
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment