diff options
Diffstat (limited to 'usr.bin/find/main.c')
-rw-r--r-- | usr.bin/find/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c index 48b2123c290..9bc52b4e3f7 100644 --- a/usr.bin/find/main.c +++ b/usr.bin/find/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.25 2009/12/09 13:59:43 millert Exp $ */ +/* $OpenBSD: main.c,v 1.26 2009/12/20 16:15:26 schwarze Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -75,6 +75,8 @@ main(int argc, char *argv[]) switch(ch) { case 'H': ftsoptions |= FTS_COMFOLLOW; + ftsoptions |= FTS_PHYSICAL; + ftsoptions &= ~FTS_LOGICAL; break; case 'd': isdepth = 1; @@ -84,6 +86,7 @@ main(int argc, char *argv[]) break; case 'h': case 'L': + ftsoptions &= ~FTS_COMFOLLOW; ftsoptions &= ~FTS_PHYSICAL; ftsoptions |= FTS_LOGICAL; break; |