Don't try to compare other attributes if the type doesn't match, it's

nothing but trouble, and no use anyway.
This commit is contained in:
Poul-Henning Kamp 2000-10-06 12:48:55 +00:00
parent 25465a047c
commit 016f1c3e23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66747

View file

@ -115,6 +115,7 @@ compare(name, s, p)
typeerr: LABEL;
(void)printf("\ttype expected %s found %s\n",
ftype(s->type), inotype(p->fts_statp->st_mode));
return (label);
}
break;
}