diff --git a/src/nnn.c b/src/nnn.c index 78cf611c..4b2d0a3d 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4511,7 +4511,9 @@ static bool get_output(char *file, char *arg1, char *arg2, int fdout, bool page) unlink(g_tmpfpath); return TRUE; - } else if (have_file) + } + + if (have_file) // Case 3 return TRUE;