From 0246568a6c8020d1f42886b73dedceecbf6a6fe0 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 13 Mar 2020 19:58:39 -0600 Subject: [PATCH] fix possible double-backslash on outputLocation --- ab-openldap/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ab-openldap/backup.sh b/ab-openldap/backup.sh index a5d2a42..ef9cf74 100755 --- a/ab-openldap/backup.sh +++ b/ab-openldap/backup.sh @@ -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