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

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;
}