]> git.ipfire.org Git - thirdparty/util-linux.git/commit
unshare: fix --map-current-user short option (-c)
authorMatthew Harm Bekkema <id@mbekkema.name>
Wed, 1 Jan 2020 13:15:11 +0000 (00:15 +1100)
committerMatthew Harm Bekkema <id@mbekkema.name>
Wed, 1 Jan 2020 13:19:45 +0000 (00:19 +1100)
commit033e473508896f3264de153e5a6b7158668f3dd9
tree3ace56d40bc29f79a58d45acb1447d86c964e28c
parent6d67d843195fa8b3e07862d544d8e587b2c60260
unshare: fix --map-current-user short option (-c)

'c' was missing from the optstring, causing the error:

    $ unshare --user -c
    unshare: invalid option -- 'c'
    Try 'unshare --help' for more information.

Fixes: 4175f29e62 ("unshare: add --map-current-user option")
Signed-off-by: Matthew Harm Bekkema <id@mbekkema.name>
sys-utils/unshare.c