nspawn: don't look for .nspawn file above the top-level directory, it makes no sense
This commit is contained in:
+1
-1
@@ -4018,7 +4018,7 @@ static int load_settings(void) {
|
||||
p = file_in_same_dir(arg_image, fn);
|
||||
if (!p)
|
||||
return log_oom();
|
||||
} else if (arg_directory) {
|
||||
} else if (arg_directory && !path_equal(arg_directory, "/")) {
|
||||
p = file_in_same_dir(arg_directory, fn);
|
||||
if (!p)
|
||||
return log_oom();
|
||||
|
||||
Reference in New Issue
Block a user