diff options
-rw-r--r-- | findutils/find.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c index 05f88d2..fc0fc5c 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -932,7 +932,10 @@ static action*** parse_params(char **argv) * expression is reached. */ /* Options */ - if (0) { } + if (parm == OPT_FOLLOW) { + dbg("follow enabled: %d", __LINE__); + G.recurse_flags |= ACTION_FOLLOWLINKS | ACTION_DANGLING_OK; + } #if ENABLE_FEATURE_FIND_XDEV else if (parm == OPT_XDEV) { dbg("%d", __LINE__); |