Skip to content

Commit

Permalink
Update docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sanikolaev authored Feb 24, 2024
1 parent b695056 commit cb9b46e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,9 @@ _main() {
fi

BACKUP_INIT_FOLDER="/docker-entrypoint-initdb.d"
INITED=""
for f in /var/lib/manticore/*; do
INITED=1
break
done

if [ -f "${BACKUP_INIT_FOLDER}/versions.json" ]; then
if [ -n "$INITED" ]; then
if [ -f /var/lib/manticore/manticore.json ]; then
echo "Warning: Backup is available for restore, but it's being skipped because it's already initialized or the data directory is not empty."
else
if [ ! -s "/usr/bin/manticore-executor" ]; then
Expand Down

0 comments on commit cb9b46e

Please sign in to comment.