add ssh -v to rsync command so we can figure out why it isn't working
This commit is contained in:
parent
ffc09a58ce
commit
efdba5a50f
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue