chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
42c6f2c
)
machined: fix image search path iteration
author
Lennart Poettering
<lennart@poettering.net>
Fri, 26 Dec 2014 17:19:47 +0000
(18:19 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 26 Dec 2014 18:33:15 +0000
(19:33 +0100)
src/machine/image.c
patch
|
blob
|
history
diff --git
a/src/machine/image.c
b/src/machine/image.c
index c4645a13a2fc663ea90a9082b8e14e0be01f9f22..4f59c578883a5794e97afe8a6e40e76818944b09 100644
(file)
--- a/
src/machine/image.c
+++ b/
src/machine/image.c
@@
-232,7
+232,7
@@
int image_discover(Hashmap *h) {
d = opendir(path);
if (!d) {
if (errno == ENOENT)
d = opendir(path);
if (!d) {
if (errno == ENOENT)
-
return 0
;
+
continue
;
return -errno;
}
return -errno;
}