src/nnn.c | 8 +++----- diff --git a/src/nnn.c b/src/nnn.c index 4a939dc08d04823f9537282aa49dc3c2eb6a8e41..6497ffc218e7fbbd3c4ab081b16ddf9b759f1668 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4867,16 +4867,14 @@ 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();