machined: fix image search path iteration

This commit is contained in:
Lennart Poettering
2014-12-26 19:33:15 +01:00
parent 42c6f2c9b2
commit a67a4c8cb7
+1 -1
View File
@@ -232,7 +232,7 @@ int image_discover(Hashmap *h) {
d = opendir(path);
if (!d) {
if (errno == ENOENT)
return 0;
continue;
return -errno;
}