From 433fdecdb3edce064db0050fc469701273983ca4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 17:21:20 -0600 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index a635752..7b52377 100755 --- a/test.sh +++ b/test.sh @@ -28,6 +28,6 @@ CHECK_HOST(){ echo $1 echo ${noheader} -if [[ "${noheader}" != *"${1}"* ]]; then +if [[ "${noheader}," != *"${1}"* ]] && [[ ",${noheader}" != *"${1}"* ]] && [[ "${noheader}," != *"${2}"* ]] && [[ ",${noheader}" != *"${2}"* ]]; then echo 'not found' fi \ No newline at end of file