From ee2fbc8e6459073d97cc6464513663ee1976d600 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 7 Dec 2021 18:59:07 +0100 Subject: [PATCH] Update 00-global_var.sh --- arpspoof/rootfs/scripts/00-global_var.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arpspoof/rootfs/scripts/00-global_var.sh b/arpspoof/rootfs/scripts/00-global_var.sh index b20e367db..f49cd70ed 100644 --- a/arpspoof/rootfs/scripts/00-global_var.sh +++ b/arpspoof/rootfs/scripts/00-global_var.sh @@ -15,7 +15,7 @@ for KEYS in ${arr[@]}; do VALUE=$(jq .$KEYS ${JSONSOURCE}) line="${KEYS}=${VALUE//[\"\']/}" # Use locally - bashio::log.blue "$line" 2>/dev/null || echo "$line" + bashio::log.blue "$line" export $line # Export the variable to run scripts line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"