4
0
Daniel Gibbs 10 жил өмнө
parent
commit
aeefbe964e

+ 1 - 1
lgsm/functions/check_root.sh

@@ -9,7 +9,7 @@ local selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 if [ $(whoami) = "root" ]; then
 if [ $(whoami) = "root" ]; then
 	fn_print_fail_nl "Do NOT run this script as root!"
 	fn_print_fail_nl "Do NOT run this script as root!"
 	if [ -d "${scriptlogdir}" ]; then
 	if [ -d "${scriptlogdir}" ]; then
-		fn_scriptlog_fatal "${selfname} attempted to run as root."
+		fn_script_log_fatal "${selfname} attempted to run as root."
 	fi
 	fi
 	core_exit.sh
 	core_exit.sh
 fi
 fi