Handle +:*:: the same way we handle +::: when checking group file

The first is what the documentation recommands for NIS client
This commit is contained in:
Baptiste Daroussin 2015-08-01 08:39:55 +00:00
parent e622418c5b
commit f4e060d0f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286149

View File

@ -106,7 +106,8 @@ main(int argc, char *argv[])
/*
* Hack: special case for + line
*/
if (strncmp(line, "+:::", len) == 0)
if (strncmp(line, "+:::", len) == 0 ||
strncmp(line, "+:*::", len) == 0)
continue;
/*