]> git.ipfire.org Git - thirdparty/shadow.git/commit
sub_[ug]id_{add,remove}: fix return values
authorSerge Hallyn <serge@hallyn.com>
Fri, 26 May 2023 03:00:36 +0000 (22:00 -0500)
committerSerge Hallyn <serge@hallyn.com>
Fri, 26 May 2023 20:16:29 +0000 (15:16 -0500)
commita80b792afc7d557270bf4024fddc97199a5a31fb
treeedede20d4a781baad0d7012c90d8582b563fd318
parent8665fe1957b0d565701ff1b834eae89e5c4d2c9a
sub_[ug]id_{add,remove}: fix return values

On failure, these are meant to return 0 with errno set.  But if
an nss module is loaded, they were returning -ERRNO instead.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
lib/subordinateio.c