fix git hook pre-push

- failed to rsync files before push because of `-N`
This commit is contained in:
Dominic Reich 2023-08-12 08:57:05 +02:00
parent 676971d2de
commit 8904e88530
Signed by: dominic
GPG key ID: BC9D6AE1A3BE169A

View file

@ -32,7 +32,7 @@ fi
echo -n ">>> Pushing files to server..."
ret="$(rsync --no-motd -acvhzN --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)"
ret="$(rsync --no-motd -acvhz --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)"
if [ "$?" -eq "0" ] ; then
echo " Success!"