use quotes for correctness

pull/2789/head
Andrew Bauer 2019-12-23 17:13:38 -06:00
parent f3116589e3
commit 635988f0cc
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${OS}" == "debian" ] || [ "${OS}"
echo "Running \$(rsync -v -e 'ssh -vvv' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1)"
rsync -v -e 'ssh -vvv' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1
result="$?"
if [ $result -eq 0 ]; then
if [ "$result" -eq 0 ]; then
echo
echo "Files copied successfully."
echo