From: Denys Vlasenko Date: Thu, 9 Nov 2017 14:59:22 +0000 (+0100) Subject: unshare: -r implies -U, not -u X-Git-Tag: 1_28_0~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b5a0d9d8673f8c84c0135fbc6227680ee874d261;p=oweals%2Fbusybox.git unshare: -r implies -U, not -u Signed-off-by: Denys Vlasenko --- 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,