Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
1e441eda
Commit
1e441eda
authored
Jun 06, 2021
by
Rob Swindell
💬
Browse files
Don't log an error if after a failure to remove a file, the file doesn't exist
parent
904b3a58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
exec/binkit.js
exec/binkit.js
+1
-1
No files found.
exec/binkit.js
View file @
1e441eda
...
...
@@ -336,7 +336,7 @@ function remove_file(fname)
{
if
(
file_remove
(
fname
))
log
(
LOG_INFO
,
"
Deleted file:
"
+
fname
);
else
else
if
(
file_exists
(
fname
))
log
(
LOG_ERROR
,
"
Error
"
+
errno
+
"
(
"
+
errno_str
+
"
) deleting file:
"
+
fname
);
}
...
...
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