aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 9923558f4..d11d425ba 100644
--- a/init/init.c
+++ b/init/init.c
@@ -645,7 +645,8 @@ static void new_init_action(uint8_t action_type, const char *command, const char
645 /* don't enter action if it's already in the list, 645 /* don't enter action if it's already in the list,
646 * but do overwrite existing actions */ 646 * but do overwrite existing actions */
647 if ((strcmp(a->command, command) == 0) 647 if ((strcmp(a->command, command) == 0)
648 && (strcmp(a->terminal, cons) == 0)) { 648 && (strcmp(a->terminal, cons) == 0)
649 ) {
649 a->action_type = action_type; 650 a->action_type = action_type;
650 return; 651 return;
651 } 652 }