diff options
author | Denys Vlasenko | 2017-11-09 15:59:22 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-11-09 15:59:22 +0100 |
commit | b5a0d9d8673f8c84c0135fbc6227680ee874d261 (patch) | |
tree | 3123388eec3f6d5ce272e35888d807708230a950 | |
parent | 978810d7ac1d64a725bbe91f3604dcebbcb27362 (diff) | |
download | busybox-b5a0d9d8673f8c84c0135fbc6227680ee874d261.zip busybox-b5a0d9d8673f8c84c0135fbc6227680ee874d261.tar.gz |
unshare: -r implies -U, not -u
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/unshare.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/unshare.c b/util-linux/unshare.c index 6a3da9f..a4bbb8c 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, |