summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-02-08 03:36:05 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-02-08 03:36:08 +0100
commit5ac03453298100ed5006664669e6588049d403e2 (patch)
treebf56c75da27b5535fb439607449184b9f7a47679
parenttest: fix typo (diff)
downloadsystemd-5ac03453298100ed5006664669e6588049d403e2.tar.xz
systemd-5ac03453298100ed5006664669e6588049d403e2.zip
nspawn: fix typo
Follow-up for f94025a13681e001011dd52e0dcecc143b4501b9.
-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 15d754ba9c..6cf2fd1ff5 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -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);