projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c9192
)
Changed to test not only for readonly fs
author
Marius Tomaschewski
<mt@suse.de>
Thu, 9 Feb 2006 19:32:52 +0000
(19:32 +0000)
committer
Marius Tomaschewski
<mt@suse.de>
Thu, 9 Feb 2006 19:32:52 +0000
(19:32 +0000)
zypp/media/MediaHandler.cc
patch
|
blob
|
history
diff --git
a/zypp/media/MediaHandler.cc
b/zypp/media/MediaHandler.cc
index
1eb18e4
..
f44eceb
100644
(file)
--- a/
zypp/media/MediaHandler.cc
+++ b/
zypp/media/MediaHandler.cc
@@
-226,12
+226,13
@@
MediaHandler::createAttachPoint() const
adir( Pathname::extend( abase, str::hexstring( i ) ) );
if ( ! adir.isExist() ) {
int err = mkdir( adir.path() );
- if (err == EROFS) // readonly fs, dont try further
- break;
if (err == 0 ) {
apoint = adir.path();
break;
}
+ else
+ if (err != EEXIST) // readonly fs or other, dont try further
+ break;
}
}
}