Daniel Gibbs 10 lat temu
rodzic
commit
eb74cfa459
1 zmienionych plików z 1 dodań i 1 usunięć
  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