diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-13 18:01:11 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-13 18:01:11 +0000 |
commit | d37a5800850f899cddb4efadc0304cfc76376e26 (patch) | |
tree | 872d25b5f4a74f9e38d58a129f2cf702113e127b /cmd-queue.c | |
parent | ae5ddfdc1ae471f13c6d0e94ff4029d4fb29e1f4 (diff) | |
parent | 9b7697db62dc1c809955e8f8fea2868c230cc503 (diff) | |
download | rtmux-d37a5800850f899cddb4efadc0304cfc76376e26.tar.gz rtmux-d37a5800850f899cddb4efadc0304cfc76376e26.tar.bz2 rtmux-d37a5800850f899cddb4efadc0304cfc76376e26.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index 7b2675fa..c0fc26c6 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -199,6 +199,8 @@ cmdq_continue_one(struct cmd_q *cmdq) if (cmd_prepare_state(cmd, cmdq) != 0) goto error; retval = cmd->entry->exec(cmd, cmdq); + if (retval == CMD_RETURN_ERROR) + goto error; cmdq_guard(cmdq, "end", flags); return (retval); |