]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Feb 2024 02:36:05 +0000 (11:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Feb 2024 02:36:08 +0000 (11:36 +0900)
Follow-up for f94025a13681e001011dd52e0dcecc143b4501b9.

src/nspawn/nspawn.c

index 15d754ba9c526588c898b7a3cd7115a5850218fa..6cf2fd1ff527498d1763383c01aeb937099f9428 100644 (file)
@@ -1380,7 +1380,7 @@ static int parse_argv(int argc, char *argv[]) {
                                 return log_error_errno(r, "Failed to simplify path %s: %m", optarg);
 
                         if (!path_is_normalized(wd))
-                                return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Working dirctory path is not normalized: %s", wd);
+                                return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Working directory path is not normalized: %s", wd);
 
                         if (path_below_api_vfs(wd))
                                 return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Working directory is below API VFS, refusing: %s", wd);