summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/verify.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-07-13 22:13:42 +0000
committerjoe <joe@FreeBSD.org>2000-07-13 22:13:42 +0000
commitdad66a4f4f293b19db9c7939efff27a7bc8fc69a (patch)
treedd0ba243240866bc964b8cd557a8aad95f798589 /usr.sbin/mtree/verify.c
parent1a2da9c569393657e716341d0de1a0a7194a3cb0 (diff)
downloadFreeBSD-src-dad66a4f4f293b19db9c7939efff27a7bc8fc69a.zip
FreeBSD-src-dad66a4f4f293b19db9c7939efff27a7bc8fc69a.tar.gz
Added a flag (-S) to mtree to specify that symlinks shouldn't be
followed. This allows type=link matches to work properly and match the link itself, instead of the file/directory that the link is pointing to.
Diffstat (limited to 'usr.sbin/mtree/verify.c')
-rw-r--r--usr.sbin/mtree/verify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/mtree/verify.c b/usr.sbin/mtree/verify.c
index f182996..25b33aa 100644
--- a/usr.sbin/mtree/verify.c
+++ b/usr.sbin/mtree/verify.c
@@ -96,6 +96,7 @@ vwalk()
}
switch(p->fts_info) {
case FTS_D:
+ case FTS_SL:
break;
case FTS_DP:
if (specdepth > p->fts_level) {
OpenPOWER on IntegriCloud