summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-20 22:48:00 +0000
committerJim Meyering <jim@meyering.net>2001-02-20 22:48:00 +0000
commit56bcd15a9c592969370aa1d39e8a6e6df380c9a3 (patch)
treedd53ee9be8c5c35f4c36f94ae048163a6759f4a5 /src/ls.c
parent05c801ff0ce39f850abaa1733840b2fa24ab5258 (diff)
downloadcoreutils-56bcd15a9c592969370aa1d39e8a6e6df380c9a3.tar.xz
revert last change, until after the release
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index 6f7bae6ef..c5701698c 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1933,8 +1933,7 @@ gobble_file (const char *name, enum filetype type, int explicit_arg,
#endif
if (S_ISLNK (files[files_index].stat.st_mode)
- && ((explicit_arg && ! immediate_dirs)
- || format == long_format || check_symlink_color))
+ && (explicit_arg || format == long_format || check_symlink_color))
{
char *linkpath;
struct stat linkstats;