From c920b863643e0ed298ff08835de380fe4624c0c2 Mon Sep 17 00:00:00 2001 From: Olle Lundberg Date: Mon, 17 May 2021 16:20:23 +0200 Subject: [PATCH] nspawn: bring back the word `may` in error text In the change set 6c045a999800c62368470938307951bb669f5afc the error text for the old flag `--private-users-chown` was repurposed for the new flag `--private-users-ownership=own` and while doing so the word `may` was dropped leading to a grammatically incorrect error text. --- src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 4ef95bfa5a9..a8441bf8e00 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -453,7 +453,7 @@ static int custom_mount_check_all(void) { if (path_equal(m->destination, "/") && arg_userns_mode != USER_NAMESPACE_NO) { if (arg_userns_ownership != USER_NAMESPACE_OWNERSHIP_OFF) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), - "--private-users-ownership=own not be combined with custom root mounts."); + "--private-users-ownership=own may not be combined with custom root mounts."); if (arg_uid_shift == UID_INVALID) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--private-users with automatic UID shift may not be combined with custom root mounts."); -- 2.47.3