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:
parent
25465a047c
commit
016f1c3e23
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user