fix git hook pre-push
- failed to rsync files before push because of `-N`
This commit is contained in:
parent
676971d2de
commit
8904e88530
1 changed files with 1 additions and 1 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue