From 2d7fa277ad6c6cc3c266c878ee23f87766ad5753 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 16 Jul 2020 12:02:48 -0500 Subject: [PATCH] or this? --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index e22d4b8..47ec631 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -1395,7 +1395,7 @@ function config_generate { read INPUT_PING_AVOID INPUT_PING_AVOID="${INPUT_PING_AVOID:-Y}" - if [[ "${INPUT_PING_AVOID}" != "Yes" || "${INPUT_PING_AVOID}" != "yes" || "${INPUT_PING_AVOID}" != "Y" || "${INPUT_PING_AVOID}" != "y" ]] + if [ "${INPUT_PING_AVOID}" != "Yes" ] || [ "${INPUT_PING_AVOID}" != "yes" ] || [ "${INPUT_PING_AVOID}" != "Y" ] || [ "${INPUT_PING_AVOID}" != "y" ] then MESSAGE="Saving Ping Avoidance to ${CONFIG_FILE}" echo_stat