diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 07abe0fb7..5fd907e08 100644 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -4,8 +4,8 @@ # Website: https://linuxgsm.com # Description: Overall function for managing alerts. -local commandname="ALERT" -local commandaction="Alert" +commandname="ALERT" +commandaction="Alert" fn_alert_log(){ info_distro.sh diff --git a/lgsm/functions/alert_email.sh b/lgsm/functions/alert_email.sh index c7c09b5e4..cb7e1741d 100644 --- a/lgsm/functions/alert_email.sh +++ b/lgsm/functions/alert_email.sh @@ -4,8 +4,8 @@ # Website: https://linuxgsm.com # Description: Sends email alert. -local commandname="ALERT" -local commandaction="Alert" +commandname="ALERT" +commandaction="Alert" function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_print_dots "Sending Email alert: ${email}" diff --git a/lgsm/functions/alert_ifttt.sh b/lgsm/functions/alert_ifttt.sh index bf94cb8a3..f21c7ad1c 100644 --- a/lgsm/functions/alert_ifttt.sh +++ b/lgsm/functions/alert_ifttt.sh @@ -4,8 +4,8 @@ # Website: https://linuxgsm.com # Description: Sends IFTTT alert. -local commandname="ALERT" -local commandaction="Alert" +commandname="ALERT" +commandaction="Alert" function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" json=$(cat <