From 83087d5c041832040762b861a668271b95f10a6c Mon Sep 17 00:00:00 2001 From: Eric Loyd Date: Thu, 13 Jan 2022 09:39:15 -0500 Subject: [PATCH] Fixed typo with parenthesis --- failover/rsync_xi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/failover/rsync_xi.sh b/failover/rsync_xi.sh index 173746a..9f599eb 100755 --- a/failover/rsync_xi.sh +++ b/failover/rsync_xi.sh @@ -353,7 +353,7 @@ if [ $res != 0 ]; then exit 1 fi # Restore old Program URL -echo "update xi_options set value='$old_url' where name='url'" | mysql -h "$ndoutils_dbserver" --port="$ndoutils_dbport" -u root --password=$mysqlpass -N nagiosxi) +echo "update xi_options set value='$old_url' where name='url'" | mysql -h "$ndoutils_dbserver" --port="$ndoutils_dbport" -u root --password=$mysqlpass -N nagiosxi if [[ "$cfg__db_info__nagiosql__dbserver" == *":"* ]]; then nagiosql_dbport=`echo "$cfg__db_info__nagiosql__dbserver" | cut -f2 -d":"`