summaryrefslogtreecommitdiffstats
path: root/contrib/mtree/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mtree/verify.c')
-rw-r--r--contrib/mtree/verify.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/mtree/verify.c b/contrib/mtree/verify.c
index 54b704c..66b020a 100644
--- a/contrib/mtree/verify.c
+++ b/contrib/mtree/verify.c
@@ -1,4 +1,4 @@
-/* $NetBSD: verify.c,v 1.43 2012/10/05 01:31:05 christos Exp $ */
+/* $NetBSD: verify.c,v 1.44 2013/02/03 19:15:17 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)verify.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: verify.c,v 1.43 2012/10/05 01:31:05 christos Exp $");
+__RCSID("$NetBSD: verify.c,v 1.44 2013/02/03 19:15:17 christos Exp $");
#endif
#endif /* not lint */
@@ -95,6 +95,10 @@ vwalk(void)
fts_set(t, p, FTS_SKIP);
continue;
}
+ if (!find_only(p->fts_path)) {
+ fts_set(t, p, FTS_SKIP);
+ continue;
+ }
switch(p->fts_info) {
case FTS_D:
case FTS_SL:
OpenPOWER on IntegriCloud