fix possible double-backslash on outputLocation

This commit is contained in:
Asif Bacchus 2020-03-13 19:58:39 -06:00
parent 974e5e06f5
commit 0246568a6c

View File

@ -555,7 +555,7 @@ elif [ $extract = 'false' ]; then
exitError 6 'Unable to copy backup archive from container to host.'
fi
logInfo 'done'
logInfo "Backup file: $outputLocation/ldap-${fileDate}.tar.gz"
logInfo "Backup file: ${outputLocation%/}/ldap-${fileDate}.tar.gz"
## cleanup and log success
cleanup