Fix silly typo. addgroup was using /etc/shadow for /etc/gshadow.
This commit is contained in:
parent
f8277ca992
commit
edcac5572f
@ -89,7 +89,7 @@ static int addgroup(const char *filename, char *group, gid_t gid)
|
||||
|
||||
#ifdef CONFIG_FEATURE_SHADOWPASSWDS
|
||||
FILE *etc_gshadow;
|
||||
const char *gshadow = shadow_file;
|
||||
const char *gshadow = gshadow_file;
|
||||
#endif
|
||||
|
||||
struct group gr;
|
||||
@ -162,4 +162,4 @@ int addgroup_main(int argc, char **argv)
|
||||
return addgroup(group_file, group, gid);
|
||||
}
|
||||
|
||||
/* $Id: addgroup.c,v 1.4 2002/07/21 17:33:27 sandman Exp $ */
|
||||
/* $Id: addgroup.c,v 1.5 2002/08/06 20:39:23 mjn3 Exp $ */
|
||||
|
Loading…
Reference in New Issue
Block a user