diff --git a/test.sh b/test.sh index 7b52377..5af2090 100755 --- a/test.sh +++ b/test.sh @@ -28,6 +28,6 @@ CHECK_HOST(){ echo $1 echo ${noheader} -if [[ "${noheader}," != *"${1}"* ]] && [[ ",${noheader}" != *"${1}"* ]] && [[ "${noheader}," != *"${2}"* ]] && [[ ",${noheader}" != *"${2}"* ]]; then +if [[ "${noheader}," != *"${1}"* ]] && [[ "${noheader}," != *"${2}"* ]]; then echo 'not found' fi \ No newline at end of file