diff --git a/run.sh b/run.sh index b2534f2..c84d517 100755 --- a/run.sh +++ b/run.sh @@ -12,6 +12,10 @@ scriptdir=$(dirname $(realpath $0)) cd $scriptdir && git pull +if [ "$1" = "update" ]; then + exit 0 +fi + if [ "$(id -u)" -eq 0 ]; then echo "Running in root mode." $scriptdir/init_root.sh $@