diff --git a/run.sh b/run.sh index 516ca110..a8eb2584 100755 --- a/run.sh +++ b/run.sh @@ -26,6 +26,7 @@ if [ "${1}" == "update" ]; then git pull >/dev/null 2>&1 git submodule update --remote >/dev/null 2>&1 fi + cd /opt/idssys/powerwall if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then if [ "${2}" != "q" ]; then