From 068f464e4c57414d4b4edcc0a9758b45713d8b35 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Wed, 4 Nov 2020 11:18:40 -0700 Subject: [PATCH] interface-file: if auto_executor_selection is disabled, don't guess what executors should be used --- libifupdown/interface-file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libifupdown/interface-file.c b/libifupdown/interface-file.c index 4628a70..d5c9fa5 100644 --- a/libifupdown/interface-file.c +++ b/libifupdown/interface-file.c @@ -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 - and assume is an addon */ char *word_end = strchr(token, '-'); if (word_end != NULL)