Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
eb74cfa459
Modificáronse 1 ficheiros con 1 adicións e 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