From b5a0d9d8673f8c84c0135fbc6227680ee874d261 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 9 Nov 2017 15:59:22 +0100 Subject: [PATCH] unshare: -r implies -U, not -u Signed-off-by: Denys Vlasenko --- util-linux/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-linux/unshare.c b/util-linux/unshare.c index 6a3da9f91..a4bbb8c9e 100644 --- a/util-linux/unshare.c +++ b/util-linux/unshare.c @@ -217,7 +217,7 @@ int unshare_main(int argc UNUSED_PARAM, char **argv) ":\xf3""n" ":\xf4""p" ":\xf5""U" - ":ru" /* --map-root-user or -r implies -u */ + ":rU" /* --map-root-user or -r implies -U */ ":\xfd""m" /* --mount-proc implies -m */ , unshare_longopts, &proc_mnt_target, &prop_str, &setgrp_str, -- 2.25.1