Daniel Gibbs 10 лет назад
Родитель
Сommit
eb74cfa459
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/check_root.sh

+ 1 - 1
lgsm/functions/check_root.sh

@@ -9,5 +9,5 @@ if [ $(whoami) = "root" ]; then
 	if [ -d "${scriptlogdir}" ]; then
 		fn_scriptlog_fatal "${selfname} attempted to run as root."
 	fi
-	exit 1
+	core_exit.sh
 fi