aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-04-20 15:44:27 +0100
committerThomas Adam <thomas@xteddy.org>2015-04-20 15:44:27 +0100
commitb25dc423b0b1369aaec5dee8e051d541bd55043f (patch)
tree4ee106369e8b28504959d1b43c56daf89e196240 /cmd-if-shell.c
parentacb8248ba64e1c9770d39d9790439c74eb9e5d80 (diff)
parent0fd9a97202dc2878d9cf21f3bea01b599c21e61b (diff)
downloadrtmux-b25dc423b0b1369aaec5dee8e051d541bd55043f.tar.gz
rtmux-b25dc423b0b1369aaec5dee8e051d541bd55043f.tar.bz2
rtmux-b25dc423b0b1369aaec5dee8e051d541bd55043f.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r--cmd-if-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 8c6620da..9659511e 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -95,7 +95,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq)
}
return (CMD_RETURN_ERROR);
}
- cmdq_run(cmdq, cmdlist);
+ cmdq_run(cmdq, cmdlist, NULL);
cmd_list_free(cmdlist);
return (CMD_RETURN_NORMAL);
}
@@ -152,7 +152,7 @@ cmd_if_shell_callback(struct job *job)
cmdq1->emptyfn = cmd_if_shell_done;
cmdq1->data = cdata;
- cmdq_run(cmdq1, cmdlist);
+ cmdq_run(cmdq1, cmdlist, NULL);
cmd_list_free(cmdlist);
}