mirror of
https://github.com/systemd/systemd.git
synced 2025-02-28 05:57:33 +03:00
nspawn: improve error message when we cannot resolve the root directory argument
This commit is contained in:
parent
a7c0e5d714
commit
898d5c9137
@ -192,7 +192,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
free(arg_directory);
|
||||
arg_directory = canonicalize_file_name(optarg);
|
||||
if (!arg_directory) {
|
||||
log_error("Failed to canonicalize root directory.");
|
||||
log_error("Invalid root directory: %m");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user