acct-user.eclass: Do not enforce UID unless requested
authorMichał Górny <mgorny@gentoo.org>
Mon, 8 Jul 2019 13:03:22 +0000 (15:03 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 9 Jul 2019 13:29:39 +0000 (15:29 +0200)
commitb425e3571d9b64b461a916dcddfe117e78d2b1f5
treec432403ea9e685c259a17c9fcdef8ea2d9c41d6b
parent301fd12ab2f2e20474eded4074ee302a2ea3c7c8
acct-user.eclass: Do not enforce UID unless requested

Correct the enewuser call not to enforce specified UID unless
ACCT_USER_ENFORCE_ID is set.

Reported-by: Toralf Förster <toralf@gentoo.org>
Tested-by: Marek Szuba <marecki@gentoo.org>
Closes: https://bugs.gentoo.org/689102
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/acct-user.eclass