Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
useradd: fix write_full() return value
write_full() returns -1 on error and useradd was checking another value. Closes: #1072 Fixes: f45498a ("libmisc/write_full.c: Improve write_full()") Reported-by: <https://github.com/brown-midas> Suggested-by: <https://github.com/brown-midas> Reviewed-by: Alejandro Colomar <alx@kernel.org> Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
- Loading branch information