summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine')
-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;
}