chiark / gitweb /
machined: let's also check machine directories in /usr and /usr/local
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Dec 2014 17:19:22 +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 f72a5c3..c4645a1 100644 (file)
 #include "image.h"
 
 static const char image_search_path[] =
+        "/var/lib/machines\0"
         "/var/lib/container\0"
-        "/var/lib/machine\0";
+        "/usr/local/lib/machines\0"
+        "/usr/lib/machines\0";
 
 Image *image_unref(Image *i) {
         if (!i)