summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-26 18:19:47 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-26 19:33:15 +0100
commita67a4c8cb728db1d803ebd43dcc39c7de50f2725 (patch)
tree7a276dd4b968492a2be9b42e039ed7cda9781d37 /src
parent42c6f2c9b2e5c2f013ce0af20bb11f63e9ec13c9 (diff)
machined: fix image search path iteration
Diffstat (limited to 'src')
-rw-r--r--src/machine/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/image.c b/src/machine/image.c
index c4645a13a2..4f59c57888 100644
--- 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)
- return 0;
+ continue;
return -errno;
}