chiark / gitweb /
machined: fix image search path iteration
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Dec 2014 17:19:47 +0000 (18:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 26 Dec 2014 18:33:15 +0000 (19:33 +0100)
src/machine/image.c

index c4645a1..4f59c57 100644 (file)
@@ -232,7 +232,7 @@ int image_discover(Hashmap *h) {
                 d = opendir(path);
                 if (!d) {
                         if (errno == ENOENT)
-                                return 0;
+                                continue;
 
                         return -errno;
                 }