From 5ad03cfbe6bf989f2c98f258620b631a283e5a05 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 17 Sep 2020 14:20:20 +0100 Subject: [PATCH] revert --- lgsm/functions/alert.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index d428e527e..162b296eb 100755 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -7,6 +7,9 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_alert_log(){ + info_distro.sh + info_config.sh + info_messages.sh if [ -f "${alertlog}" ]; then rm -f "${alertlog:?}" fi @@ -75,10 +78,6 @@ fn_alert_config(){ alertbody="${selfname} has received a new _default.cfg. Check file for changes." } -info_distro.sh -info_config.sh -info_messages.sh - if [ "${alert}" == "permissions" ]; then fn_alert_permissions elif [ "${alert}" == "restart" ]; then