unshare: -r implies -U, not -u

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-11-09 15:59:22 +01:00
parent 978810d7ac
commit b5a0d9d867

View File

@ -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,