From 5241dae87de88906dc5c1dc271a4f25522a22d4c Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 21 Aug 2021 17:25:32 +0000 Subject: Stop caring about empty commands, just treat as a null command. --- cmd-if-shell.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'cmd-if-shell.c') 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); -- cgit