From: Olle Lundberg Date: Mon, 17 May 2021 14:20:23 +0000 (+0200) Subject: nspawn: bring back the word `may` in error text X-Git-Tag: v249-rc1~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c920b863643e0ed298ff08835de380fe4624c0c2;p=thirdparty%2Fsystemd.git 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. --- 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.");