diff options
author | phk <phk@FreeBSD.org> | 2000-10-06 12:48:55 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-10-06 12:48:55 +0000 |
commit | 78f27a920c604a0cfbd345813425ee184055fc63 (patch) | |
tree | c8f051b53944a2b02927b1295561fa705754cac4 /usr.sbin/mtree | |
parent | 2e5c04d01b54248c5190be0ddb1d2bea0a53217d (diff) | |
download | FreeBSD-src-78f27a920c604a0cfbd345813425ee184055fc63.zip FreeBSD-src-78f27a920c604a0cfbd345813425ee184055fc63.tar.gz |
Don't try to compare other attributes if the type doesn't match, it's
nothing but trouble, and no use anyway.
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r-- | usr.sbin/mtree/compare.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c index caaaff5..19e48cd 100644 --- a/usr.sbin/mtree/compare.c +++ b/usr.sbin/mtree/compare.c @@ -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; } |