chiark / gitweb /
machined: fix image search path iteration
[elogind.git] / 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;
                 }