From e4c23c3100beaa353d342e2ec5b53346d3a1f406 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 19 Nov 2019 09:36:43 -0500 Subject: [PATCH] crank of the verbosity. Add another rsync call just to test if output is not being reported to travis --- utils/packpack/rsync_xfer.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/packpack/rsync_xfer.sh b/utils/packpack/rsync_xfer.sh index 2c7e73b07..c7562f642 100755 --- a/utils/packpack/rsync_xfer.sh +++ b/utils/packpack/rsync_xfer.sh @@ -26,8 +26,8 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${OS}" == "debian" ] || [ "${OS}" echo "Target subfolder set to $targetfolder" echo if [ "${USE_SFTP}" == "yes" ]; then - echo "Running \$(rsync -e 'ssh -v' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1)" - results="$(rsync -v -e 'ssh -v -O ControlMaster=no' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1)" + echo "Running \$(rsync -v -e 'ssh -vvv' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1)" + results="$(rsync -v -e 'ssh -vvv' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1)" if [ -z "$results" ]; then echo echo "Files copied successfully." @@ -37,6 +37,8 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${OS}" == "debian" ] || [ "${OS}" echo "ERROR: Attempt to rsync to zmrepo.zoneminder.com failed!" echo "rsync gave the following error message:" echo \"$results\" + # Doing this again just for the output + rsync -v -e 'ssh -vvv' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1 echo exit 99 fi