No tty is available

This commit is contained in:
Johan Wassberg 2024-08-22 08:09:06 +02:00
parent 24e0966a78
commit 34c0b42c50
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B

View file

@ -5,7 +5,7 @@ set -o pipefail
while true; do while true; do
if /usr/bin/docker exec -it mariadb-db-1 mysql -p"$(puppet lookup --render-as s mariadb_root_password 2>/dev/null)" -e "show status like 'wsrep_cluster_status';" | grep -q Primary; then if /usr/bin/docker exec mariadb-db-1 mysql -p"$(puppet lookup --render-as s mariadb_root_password 2>/dev/null)" -e "show status like 'wsrep_cluster_status';" | grep -q Primary; then
exit 0 exit 0
fi fi