瀏覽代碼

core_exit

Daniel Gibbs 10 年之前
父節點
當前提交
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