interface-file: if auto_executor_selection is disabled, don't guess what executors should be used
This commit is contained in:
parent
0050995b64
commit
068f464e4c
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
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 */
|
/* Check if token looks like <word1>-<word*> and assume <word1> is an addon */
|
||||||
char *word_end = strchr(token, '-');
|
char *word_end = strchr(token, '-');
|
||||||
if (word_end != NULL)
|
if (word_end != NULL)
|
||||||
|
|
Loading…
Reference in a new issue