diff --git a/scripts/update.sh b/scripts/update.sh index db6f8b5..005dee0 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -1,9 +1,7 @@ #!/bin/bash -cd /home/pi/intval3 - sudo -u pi -i<< EOF - git pull + cd /home/pi/intval3 && git pull EOF -sudo pm2 restart process.json \ No newline at end of file +cd /home/pi/intval3 && sudo pm2 restart process.json \ No newline at end of file