[systemd-commits] src/nspawn

Lennart Poettering lennart at kemper.freedesktop.org
Mon Nov 25 18:51:02 PST 2013


 src/nspawn/nspawn.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 898d5c913733d869820f85422a903da0f0685c6c
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Nov 26 03:50:32 2013 +0100

    nspawn: improve error message when we cannot resolve the root directory argument

diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 81d1748..cd757c4 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;
                         }
 



More information about the systemd-commits mailing list