find_new_gid is never called when an

GID is specified with -g. Simplify find_new_gid accordingly.
This commit is contained in:
nekral-guest
2007-12-28 10:30:39 +00:00
parent 0b6b9fe090
commit 08e09354b2
2 changed files with 13 additions and 28 deletions

View File

@@ -4,6 +4,8 @@
cannot exist at that time. Remove the check.
* src/groupadd.c (find_new_gid): If oflg is set, gflg is also set.
Use (!gflg), which is clearer than (!gflg || !oflg).
* src/groupadd.c (find_new_gid): find_new_gid is never called when an
GID is specified with -g. Simplify find_new_gid accordingly.
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>