From d06d092a9b0f4f93e7ee7411c79401935fb84291 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 10 Jul 2022 11:17:26 +0200 Subject: [PATCH] Fix variables scope --- scripts/_common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index d192f7c..db75578 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -63,6 +63,8 @@ netdata_add_yunohost_web_logs () { fi if [ -z "$(grep "YUNOHOST" $web_log_file)" ] ; then echo "# ------------YUNOHOST DOMAINS---------------" >> $web_log_file + local domain + local domain_label for domain in $(yunohost domain list --output-as plain); do domain_label=${domain//\./_} # Replace "." by "_" for the domain label cat >> $web_log_file <