mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Fix returns
This commit is contained in:
parent
825effb264
commit
35aa864554
|
@ -4867,16 +4867,14 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch
|
||||||
if (!*file)
|
if (!*file)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if ((flags & F_NOTRACE) || (flags & F_PAGE)) {
|
if ((flags & F_NOTRACE) || (flags & F_PAGE))
|
||||||
run_cmd_as_plugin(file, runfile, flags);
|
return run_cmd_as_plugin(file, runfile, flags);
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
cmd_as_plugin = TRUE;
|
cmd_as_plugin = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mkfifo(g_pipepath, 0600) != 0)
|
if (mkfifo(g_pipepath, 0600) != 0)
|
||||||
return EXIT_FAILURE;
|
return FALSE;
|
||||||
|
|
||||||
exitcurses();
|
exitcurses();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue