From 9c6a8bfa8d7a2b9a180b0a11744ea093bc97b066 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Fri, 29 May 2020 14:20:24 -0500 Subject: [PATCH] "" --- gravity-sync.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index e8479df..c0beb55 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -177,7 +177,7 @@ function pull_gs { if [ "$SKIP_CUSTOM" != '1' ] then - if [ $REMOTE_CUSTOM_DNS == "1" ] + if [ "$REMOTE_CUSTOM_DNS" == "1" ] then MESSAGE="Backing Up ${CUSTOM_DNS} on $HOSTNAME" echo_stat @@ -280,7 +280,7 @@ function push_gs { if [ "$SKIP_CUSTOM" != '1' ] then - if [ $REMOTE_CUSTOM_DNS == "1" ] + if [ "$REMOTE_CUSTOM_DNS" == "1" ] then MESSAGE="Backing Up ${CUSTOM_DNS} from ${REMOTE_HOST}" echo_stat @@ -374,7 +374,7 @@ function restore_gs { if [ "$SKIP_CUSTOM" != '1' ] then - if [ $REMOTE_CUSTOM_DNS == "1" ] + if [ "$REMOTE_CUSTOM_DNS" == "1" ] then MESSAGE="Restoring ${CUSTOM_DNS} on $HOSTNAME" echo_stat