aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/listing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listing.rs b/src/listing.rs
index c5eefe6..53d7233 100644
--- a/src/listing.rs
+++ b/src/listing.rs
@@ -262,7 +262,7 @@ pub fn directory_listing(
// if file is a directory, add '/' to the end of the name
if let Ok(metadata) = std::fs::metadata(entry.path()) {
- if skip_symlinks && metadata.file_type().is_symlink() {
+ if skip_symlinks && is_symlink {
continue;
}
let last_modification_date = match metadata.modified() {