diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 3d8f8c5b..d87d0084 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -524,7 +524,7 @@ struct cmd_results *config_commands_command(char *exec) { | |||
524 | } | 524 | } |
525 | 525 | ||
526 | struct cmd_handler *handler = find_handler(cmd, CMD_BLOCK_END); | 526 | struct cmd_handler *handler = find_handler(cmd, CMD_BLOCK_END); |
527 | if (!handler) { | 527 | if (!handler && strcmp(cmd, "*") != 0) { |
528 | char *input = cmd ? cmd : "(empty)"; | 528 | char *input = cmd ? cmd : "(empty)"; |
529 | results = cmd_results_new(CMD_INVALID, input, "Unknown/invalid command"); | 529 | results = cmd_results_new(CMD_INVALID, input, "Unknown/invalid command"); |
530 | goto cleanup; | 530 | goto cleanup; |