]> git.ipfire.org Git - thirdparty/util-linux.git/commit
unshare: fix a --map-auto error message
authorChris Webb <chris@arachsys.com>
Sun, 25 Dec 2022 16:34:37 +0000 (16:34 +0000)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 14:33:51 +0000 (15:33 +0100)
commite05ab331d48963c233ad5ba870dbc8d2c970145b
tree75370019920430059417af82ae4614d3fdcf8d36
parentdf7bffb4e831d98c4a7d47d0c7347d56bbb7756b
unshare: fix a --map-auto error message

When --map-auto is used by a user not listed in /etc/subuid, the error

  unshare: no line matching user "foo" in /etc/subuid: No error information

is emitted. Fix the stray ': No error information', correcting err() to
the intended errx().

Signed-off-by: Chris Webb <chris@arachsys.com>
sys-utils/unshare.c