Daniel Gibbs vor 10 Jahren
Ursprung
Commit
eb74cfa459
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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