From 3a61b3fc7f61c226f3a6625a49c588ebac6a15a2 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 4 Aug 2020 22:25:17 +0530 Subject: Fix build break --- src/nnn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index 22b559e..8b3214c 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3400,7 +3400,8 @@ static char get_ind(mode_t mode, bool perms, uchar *pair) *pair = C_CHR; return '\0'; default: - *pair = C_UND; + if (!perms) + *pair = C_UND; return '?'; } } -- cgit v1.2.3-70-g09d2