diff options
Diffstat (limited to 'bin/chmod/chmod.c')
-rw-r--r-- | bin/chmod/chmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index 97c9c02..83a31c7d 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -148,7 +148,7 @@ done: argv += optind; fts_options |= FTS_LOGICAL; } } else - fts_options = FTS_LOGICAL; + fts_options = hflag ? FTS_PHYSICAL : FTS_LOGICAL; if (hflag) change_mode = lchmod; |