Daniel Gibbs 10 vuotta sitten
vanhempi
commit
eb74cfa459
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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