add ssh -v to rsync command so we can figure out why it isn't working

This commit is contained in:
Isaac Connor 2019-11-18 14:31:32 -05:00
parent ffc09a58ce
commit efdba5a50f
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${OS}" == "debian" ] || [ "${OS}"
echo "Target subfolder set to $targetfolder"
echo
if [ "${USE_SFTP}" == "yes" ]; then
results="$(rsync build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1)"
results="$(rsync -e 'ssh -v' build/* zmrepo@zmrepo.zoneminder.com:${targetfolder}/ 2>&1)"
if [ -z "$results" ]; then
echo
echo "Files copied successfully."