From 13950825f9aa1d8bf533249103c3854f48c4d469 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 22 Oct 2023 18:36:17 +0200 Subject: [PATCH] Allow both commans and semicolons for separating array env var entries Signed-off-by: DL6ER --- src/config/toml_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/toml_helper.c b/src/config/toml_helper.c index a9b1c326..fe0e39d6 100644 --- a/src/config/toml_helper.c +++ b/src/config/toml_helper.c @@ -933,7 +933,7 @@ bool readEnvValue(struct conf_item *conf_item, struct config *newconf) cJSON_Delete(conf_item->v.json); conf_item->v.json = cJSON_CreateArray(); // Parse envvar array and generate a JSON array - const char delim[] =","; + const char delim[] =",;"; const char *elem = strtok(envvar_copy, delim); while(elem != NULL) {