Update test.sh
This commit is contained in:
2
test.sh
2
test.sh
@@ -28,6 +28,6 @@ CHECK_HOST(){
|
|||||||
|
|
||||||
echo $1
|
echo $1
|
||||||
echo ${noheader}
|
echo ${noheader}
|
||||||
if [[ "${noheader}" != *"${1}"* ]]; then
|
if [[ "${noheader}," != *"${1}"* ]] && [[ ",${noheader}" != *"${1}"* ]] && [[ "${noheader}," != *"${2}"* ]] && [[ ",${noheader}" != *"${2}"* ]]; then
|
||||||
echo 'not found'
|
echo 'not found'
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user