(find_new_gid): If oflg is set, gflg is also set.
Use (!gflg), which is cleared than (!gflg || !oflg).
This commit is contained in:
parent
b4071939e0
commit
83b546beef
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* src/groupadd.c (find_new_gid): A group with the specified name
|
* src/groupadd.c (find_new_gid): A group with the specified name
|
||||||
cannot exist at that time. Remove the check.
|
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 cleared than (!gflg || !oflg).
|
||||||
|
|
||||||
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
|
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
@ -532,7 +532,7 @@ int main (int argc, char **argv)
|
|||||||
*/
|
*/
|
||||||
open_files ();
|
open_files ();
|
||||||
|
|
||||||
if (!gflg || !oflg) {
|
if (!gflg) {
|
||||||
find_new_gid ();
|
find_new_gid ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user