nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 35aa8645541f2a069949a81faba9f028726765ad
parent 825effb26487521f0d2ac243ff175174af836e50
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 19 Jun 2021 01:48:14 +0530

Fix returns

Diffstat:
Msrc/nnn.c | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -4867,16 +4867,14 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch if (!*file) return FALSE; - if ((flags & F_NOTRACE) || (flags & F_PAGE)) { - run_cmd_as_plugin(file, runfile, flags); - return TRUE; - } + if ((flags & F_NOTRACE) || (flags & F_PAGE)) + return run_cmd_as_plugin(file, runfile, flags); cmd_as_plugin = TRUE; } if (mkfifo(g_pipepath, 0600) != 0) - return EXIT_FAILURE; + return FALSE; exitcurses();