]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/import-tar.c
importd: add support for downloading sysext/confext/portable images too
[thirdparty/systemd.git] / src / import / import-tar.c
index 90202709ecc80bca3732ccdd57d5f48cfed92d8c..39df11b5ff6e94088ac40d761f1c07da93a23711 100644 (file)
@@ -97,8 +97,9 @@ int tar_import_new(
         int r;
 
         assert(ret);
+        assert(image_root);
 
-        root = strdup(image_root ?: "/var/lib/machines");
+        root = strdup(image_root);
         if (!root)
                 return -ENOMEM;