Skip to content

Commit 152e4aa

Browse files
DOCKER-458 fix restore from backup shell script check
1 parent 71866a8 commit 152e4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xenit/solr6/local/93-restore-from-backup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ set -e
8585

8686
echo "Solr restore from backup start"
8787

88-
if [ -z "${RESTORE_FROM_BACKUP}" ]; then
88+
if [ -z "${RESTORE_FROM_BACKUP}" ] || [ "${RESTORE_FROM_BACKUP}" != "true" ]; then
8989
echo "No index backup restore requested, exiting"
9090
else
9191
# Check if the index properties file exists , it means previous restore already happened

0 commit comments

Comments
 (0)