aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-10 11:19:13 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-10 11:19:13 +0530
commit609561494f106822b3deb5ff2ef184d17703f7df (patch)
treeda2e07e1c26fe6d143cb59e293a84e11b5f38e01
parentf0535dbd7646f4f4353eee5ec6aa6d64840e29a3 (diff)
downloadnnn-609561494f106822b3deb5ff2ef184d17703f7df.tar.gz
Remove blocking pipe open in child
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 8374168..081fac0 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4316,7 +4316,7 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch
exitcurses();
if (fork() == 0) { // In child
- int wfd = open(g_pipepath, O_WRONLY | O_NONBLOCK);
+ int wfd = open(g_pipepath, O_WRONLY);
if (wfd == -1)
_exit(EXIT_FAILURE);