diff options
author | nicm <nicm> | 2021-08-13 06:50:42 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-13 06:50:42 +0000 |
commit | a2b85069171413aa30c812d44bf8ee4d32a2f834 (patch) | |
tree | 8239a57c3ef6901d5ff14445ece8cbea12c3bf55 /cmd-run-shell.c | |
parent | e2f6f58fe50e233dcd0d924bd30c94d1161c666d (diff) | |
download | rtmux-a2b85069171413aa30c812d44bf8ee4d32a2f834.tar.gz rtmux-a2b85069171413aa30c812d44bf8ee4d32a2f834.tar.bz2 rtmux-a2b85069171413aa30c812d44bf8ee4d32a2f834.zip |
Set return code for confirm-before and make command-prompt also block,
GitHub issue 2822.
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r-- | cmd-run-shell.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c index 56d5f723..7bc1d7cc 100644 --- a/cmd-run-shell.c +++ b/cmd-run-shell.c @@ -121,7 +121,6 @@ cmd_run_shell_exec(struct cmd *self, struct cmdq_item *item) cdata->shell = !args_has(args, 'C'); if (!cdata->shell) { - memset(&cdata->pi, 0, sizeof cdata->pi); cmd_get_source(self, &cdata->pi.file, &cdata->pi.line); if (wait) cdata->pi.item = item; |