summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 054588b25e..5ebbfe478f 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -946,7 +946,7 @@ BOOL is_visible_file(connection_struct *conn, const char *dir_path, const char *
return False;
}
/* Honour _hide_special_ option */
- if (hide_special && !file_is_special(conn, entry, pst)) {
+ if (hide_special && file_is_special(conn, entry, pst)) {
SAFE_FREE(entry);
return False;
}