Daniel Gibbs il y a 10 ans
Parent
commit
eb74cfa459
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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