prevent arkmanager from being ran as root

This commit is contained in:
FezVrasta 2015-06-18 12:56:22 +02:00
parent 25bd66ce4a
commit 8a398ff62b

View File

@ -5,6 +5,11 @@
# Original author: LeXaT
# Maintainer: FezVrasta
if [ "$(id -u)" == "0" ]; then
echo "This script must NOT be run as root" 1>&2
exit 1
fi
# Global variables
source ~/.arkmanager.cfg