summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-26 03:50:32 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-26 03:50:32 +0100
commit898d5c913733d869820f85422a903da0f0685c6c (patch)
treee15d2c8bbefe4337c055b90b270bebc78b658c58 /src/nspawn/nspawn.c
parenta7c0e5d714512dc3f9fe30c136778257246f3279 (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.c2
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;
}