]> git.ipfire.org Git - thirdparty/shadow.git/commit
groupadd: Improve error message when opening group file fails.
authorVasil Velichkov <vvvelichkov@gmail.com>
Fri, 1 Sep 2023 22:29:07 +0000 (01:29 +0300)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 4 Sep 2023 14:04:42 +0000 (16:04 +0200)
commitbef4da47be72a7fd63f87f327daea9669746bb65
treeb36ea392b07c2cdcae84717f6cd7bebf61feb176
parentc1fd94d7d5b14e34a26ea1b3a2030c376df9ba36
groupadd: Improve error message when opening group file fails.

Both gr_open and sgr_open are using commonio_open function and when
there is a failure this function sets errno accordingly.
src/groupadd.c