From 8fba7943cda86a3c7fad336db30bb206f16cd25b Mon Sep 17 00:00:00 2001 From: Jonatan Schlag Date: Sun, 16 Sep 2018 23:51:34 +0200 Subject: [PATCH] Fix function port_get_slaves This functions failed when we set the SLAVES variable before in another function. Signed-off-by: Jonatan Schlag --- src/functions/functions.ports | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions/functions.ports b/src/functions/functions.ports index 82945a8..53c135e 100644 --- a/src/functions/functions.ports +++ b/src/functions/functions.ports @@ -333,6 +333,7 @@ port_hotplug_event() { port_get_slaves() { local port="${1}" + local SLAVES port_settings_read "${port}" \ --ignore-superfluous-settings SLAVES -- 2.47.3