Fix comment. find_new_fid is no more called is the user specified a group

ID.
This commit is contained in:
nekral-guest 2008-01-27 14:31:23 +00:00
parent ae99674e9b
commit 3755086645

View File

@ -171,6 +171,7 @@ static long scale_age (long);
static void new_spent (struct spwd *);
static void grp_update (void);
static void find_new_uid (void);
static void find_new_gid (void);
static void process_flags (int argc, char **argv);
static void close_files (void);
@ -885,9 +886,8 @@ static void find_new_gid (void)
user_gid = gid_min;
/*
* Search the entire group file, either looking for this
* GID (if the user specified one with -g) or looking for the
* largest unused value.
* Search the entire group file,
* looking for the largest unused value.
*/
setgrent ();
while ((grp = getgrent ())) {