update.sh should be executed as root only

Fixes #508
This commit is contained in:
Marco Ochse 2020-01-02 10:16:55 +01:00 committed by GitHub
parent ec46dc9ab0
commit f7a6a30c90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,6 @@ myWHOAMI=$(whoami)
if [ "$myWHOAMI" != "root" ]
then
echo "Need to run as root ..."
sudo ./$0
exit
fi