]> git.ipfire.org Git - thirdparty/shadow.git/commit
useradd: fix comparison sign for write_full() return
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 4 Oct 2024 13:02:59 +0000 (15:02 +0200)
committerSerge Hallyn <serge@hallyn.com>
Sat, 5 Oct 2024 02:01:58 +0000 (21:01 -0500)
commit903593249630054ab5df327481f7386f718088cc
tree5d357b689ce7c0f85ef5f4ff8cccaa2096ab5d41
parent6c9e80165b4830e2240c1743fcc5bd52242de492
useradd: fix comparison sign for write_full() return

I forgot to change the comparison sign that checks the return value of
write_full()

Closes: https://github.com/shadow-maint/shadow/issues/1072
Fixes: 8903b94c86c9 ("useradd: fix write_full() return value")
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2313559

Reported-by: <https://github.com/brown-midas>
Suggested-by: <https://github.com/brown-midas>
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
src/useradd.c