diff --git a/sql/show.sh b/sql/show.sh index 04e0dc4e..67ca9263 100644 --- a/sql/show.sh +++ b/sql/show.sh @@ -41,7 +41,7 @@ fi counter=0 while [[ `pg_arman show -B ${BACKUP_PATH}` == *"RUNNING"* ]] do - if [ $counter -lt 30 ] ; then + if [ $counter -gt 30 ] ; then break fi sleep 2