Daniel Gibbs hace 10 años
padre
commit
eb74cfa459
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 	if [ -d "${scriptlogdir}" ]; then
 		fn_scriptlog_fatal "${selfname} attempted to run as root."
 		fn_scriptlog_fatal "${selfname} attempted to run as root."
 	fi
 	fi
-	exit 1
+	core_exit.sh
 fi
 fi