Update Installer.sh
Added root check
This commit is contained in:
parent
a3522138f0
commit
5f60106aa2
@ -23,6 +23,11 @@ GIT=https://git.ictcorpnet.com/b.waal/$REPO/raw
|
||||
# Pre-Check #
|
||||
##------------##
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
wget $GIT/$BRANCH/Config/OScheck.sh -O /tmp/OScheck.sh
|
||||
source /tmp/OScheck.sh
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user