mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-15 03:58:27 +00:00
prevent arkmanager from being ran as root
This commit is contained in:
parent
25bd66ce4a
commit
8a398ff62b
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user