Update test.sh

This commit is contained in:
2019-02-07 17:21:20 -06:00
parent 01e3dc0736
commit 433fdecdb3

View File

@@ -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