Skip to content

Commit

Permalink
DOCKER-458 fix restore from backup shell script check
Browse files Browse the repository at this point in the history
  • Loading branch information
hechmi-dammak-xenit committed Aug 28, 2024
1 parent 71866a8 commit 152e4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xenit/solr6/local/93-restore-from-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ set -e

echo "Solr restore from backup start"

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

0 comments on commit 152e4aa

Please sign in to comment.