interface-file: if auto_executor_selection is disabled, don't guess what executors should be used

This commit is contained in:
Ariadne Conill 2020-11-04 11:18:40 -07:00
parent 0050995b64
commit 068f464e4c

View file

@ -216,6 +216,9 @@ handle_generic(struct lif_interface_file_parse_state *state, char *token, char *
lif_dict_add(&state->cur_iface->vars, token, strdup(bufp));
if (!lif_config.auto_executor_selection)
return true;
/* Check if token looks like <word1>-<word*> and assume <word1> is an addon */
char *word_end = strchr(token, '-');
if (word_end != NULL)