user.eclass: enewgroup, allow -1 as gid
authorMichał Górny <mgorny@gentoo.org>
Fri, 31 Jan 2020 14:56:48 +0000 (15:56 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 26 Feb 2020 10:28:27 +0000 (11:28 +0100)
commit9370ca73534408e928474c4a808eb04051e435d3
tree03f7cb0fcaec532ff1c3b9a53e7fa0b4eea01918
parent694359d871720672bf70c51205352478982693e3
user.eclass: enewgroup, allow -1 as gid

Allow using '-1' to specify 'next free GID' for enewgroup.  While
technically this can already be specified by omitting gid, allowing -1
improves consistency with enewuser.

Closes: https://bugs.gentoo.org/707508
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/user.eclass