aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index dc588f75..98f5c89c 100644
--- a/input.c
+++ b/input.c
@@ -306,8 +306,8 @@ execute_binding(struct seat *seat, struct terminal *term,
}
}
- if (!spawn(term->reaper, term->cwd, binding->aux->pipe.args,
- pipe_fd[0], stdout_fd, stderr_fd, NULL))
+ if (spawn(term->reaper, term->cwd, binding->aux->pipe.args,
+ pipe_fd[0], stdout_fd, stderr_fd, NULL, NULL, NULL) < 0)
goto pipe_err;
/* Close read end */