aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-11-09 15:59:22 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-11-09 15:59:22 +0100
commitb5a0d9d8673f8c84c0135fbc6227680ee874d261 (patch)
tree3123388eec3f6d5ce272e35888d807708230a950
parent978810d7ac1d64a725bbe91f3604dcebbcb27362 (diff)
downloadbusybox-b5a0d9d8673f8c84c0135fbc6227680ee874d261.tar.gz
unshare: -r implies -U, not -u
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--util-linux/unshare.c2
1 files changed, 1 insertions, 1 deletions
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,