mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Replace return with exit 0
This commit is contained in:
parent
8ab29cc2b0
commit
a8100005ab
@ -16,7 +16,7 @@ PSQL="docker exec $POSTGRES_CONTAINER_ID psql -h localhost -p 5432 -U postgres"
|
||||
|
||||
if [[ "$($PSQL -c "\l $DATABASE_NAME")" != *"en_US.utf8"* ]]; then
|
||||
echo "Database $DATABASE_NAME already uses locale C"
|
||||
return
|
||||
exit 0
|
||||
fi
|
||||
|
||||
$PG_DUMP -h localhost -p 5432 -U postgres -F c -b -v -f "/tmp/$DATABASE_NAME.backup" $DATABASE_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user