]> Sergey Matveev's repositories - nnn.git/commitdiff
Show entry even if no permission
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 15 Apr 2020 12:22:21 +0000 (17:52 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 15 Apr 2020 12:22:21 +0000 (17:52 +0530)
src/nnn.c

index 20beba0f6e36c7d71674a5b717948d46f4c2eb86..20d7325ca34003e19f7e4608e7825065df3cffea 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4434,7 +4434,7 @@ static int dentfill(char *path, struct entry **dents)
                                        DPRINTF_S(namep);
                                        DPRINTF_S(strerror(errno));
                                }
-                               continue;
+                               memset(&sb, 0, sizeof(struct stat));
                        }
                }