From aeefbe964eeb83e9e777205e4115b9a497713efb Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 9 Jul 2016 01:14:01 +0100 Subject: [PATCH] message --- lgsm/functions/check_root.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/check_root.sh b/lgsm/functions/check_root.sh index b89672cfa..31c55a63a 100644 --- a/lgsm/functions/check_root.sh +++ b/lgsm/functions/check_root.sh @@ -9,7 +9,7 @@ local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" if [ $(whoami) = "root" ]; then fn_print_fail_nl "Do NOT run this script as root!" if [ -d "${scriptlogdir}" ]; then - fn_scriptlog_fatal "${selfname} attempted to run as root." + fn_script_log_fatal "${selfname} attempted to run as root." fi core_exit.sh fi