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 c4645a13a2fc663ea90a9082b8e14e0be01f9f22..4f59c578883a5794e97afe8a6e40e76818944b09 100644 (file)
@@ -232,7 +232,7 @@ int image_discover(Hashmap *h) {
                 d = opendir(path);
                 if (!d) {
                         if (errno == ENOENT)
-                                return 0;
+                                continue;
 
                         return -errno;
                 }