Fix container name

This commit is contained in:
Micke Nordin 2023-03-10 10:05:21 +01:00
parent 44e782d793
commit 10c44fe5fc
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
result="$(docker exec mariadbbackup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')" result="$(docker exec mariadb_backup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')"
if [[ "${result}" == "Slave_running ON" ]]; then if [[ "${result}" == "Slave_running ON" ]]; then
echo "OK: Replica running" echo "OK: Replica running"
exit 0 exit 0