diff options
author | nicm <nicm> | 2021-08-21 17:25:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-21 17:25:32 +0000 |
commit | 5241dae87de88906dc5c1dc271a4f25522a22d4c (patch) | |
tree | 17be354eb3556ed62cfdc74f2a8e4ecfe6599a22 /cmd-if-shell.c | |
parent | 68cacaec68ca8300e0ea439abdf9db16e74241bb (diff) | |
download | rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.tar.gz rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.tar.bz2 rtmux-5241dae87de88906dc5c1dc271a4f25522a22d4c.zip |
Stop caring about empty commands, just treat as a null command.
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r-- | cmd-if-shell.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c index 28e9b5d1..a04bdddd 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -159,8 +159,6 @@ cmd_if_shell_callback(struct job *job) pr = cmd_parse_from_string(cmd, &cdata->input); switch (pr->status) { - case CMD_PARSE_EMPTY: - break; case CMD_PARSE_ERROR: if (cdata->item != NULL) cmdq_error(cdata->item, "%s", pr->error); |