machined: fix search patch magic for '.host' image

This commit is contained in:
Lennart Poettering
2014-12-26 20:05:11 +01:00
parent 08ff5529df
commit 27c88c4e23
+1 -1
View File
@@ -243,7 +243,7 @@ int image_find(const char *name, Image **ret) {
}
if (streq(name, ".host"))
return image_make(NULL, AT_FDCWD, NULL, "/", ret);
return image_make(".host", AT_FDCWD, NULL, "/", ret);
return 0;
};