diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-26 03:50:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-26 03:50:32 +0100 |
commit | 898d5c913733d869820f85422a903da0f0685c6c (patch) | |
tree | e15d2c8bbefe4337c055b90b270bebc78b658c58 /src/nspawn/nspawn.c | |
parent | a7c0e5d714512dc3f9fe30c136778257246f3279 (diff) |
nspawn: improve error message when we cannot resolve the root directory argument
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 81d17484ac..cd757c497b 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -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; } |