]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: fix directory in logged error
authorml <6209465+ml-@users.noreply.github.com>
Sat, 11 Feb 2023 23:22:52 +0000 (00:22 +0100)
committerml <6209465+ml-@users.noreply.github.com>
Sat, 11 Feb 2023 23:22:52 +0000 (00:22 +0100)
src/nspawn/nspawn-bind-user.c

index 45ddb59f7613c8f0886c58d78c3a523ea6b02733..2e3c3c3072990e41460883b08b77d274daf366e4 100644 (file)
@@ -394,7 +394,7 @@ int bind_user_setup(
 
         r = userns_mkdir(root, "/run/host/home", 0755, 0, 0);
         if (r < 0)
-                return log_error_errno(r, "Failed to create /run/host/userdb: %m");
+                return log_error_errno(r, "Failed to create /run/host/home: %m");
 
         r = userns_mkdir(root, "/run/host/userdb", 0755, 0, 0);
         if (r < 0)