]> git.ipfire.org Git - thirdparty/shadow.git/commit
newusers: Fail early
authorAlejandro Colomar <alx@kernel.org>
Sat, 4 Feb 2023 19:54:43 +0000 (20:54 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 26 May 2023 02:22:08 +0000 (21:22 -0500)
commit5b117d55261cd4882df9571d2801dc4b1da2176f
treed71d6a620f26f97cb4f75ee4f8e9831a6cf16f78
parent1957c8c881e232843a8d1617d66f223bf1e229c9
newusers: Fail early

There's no reason to report all errors.  Bail out at the first one,
which is simpler.

Suggested-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/newusers.c