git://git.jankratochvil.net
/
udpgate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved safe errors set during unbundling.
[udpgate.git]
/
src
/
bundle-util.c
diff --git
a/src/bundle-util.c
b/src/bundle-util.c
index
5149abf
..
52a6afc
100644
(file)
--- a/
src/bundle-util.c
+++ b/
src/bundle-util.c
@@
-259,7
+259,7
@@
struct dir_stack **mkdirs_tail_pointer;
g_assert(!mkdirs);
if (-1==(fd=open(pathname,O_WRONLY|O_CREAT|O_TRUNC,pathname_mode))) {
- if (errno!=EACCES)
+ if (errno!=EACCES
&& errno!=ENOENT
)
g_warning(_("Error opening the file \"%s\" for rewrite: %m"),pathname);
return FALSE;
}