Commit b11cb443 authored by Dan Reading's avatar Dan Reading

fix logic in a if statment

parent ac4b949c
...@@ -139,7 +139,7 @@ tbresult=${tbinfo[@]} ...@@ -139,7 +139,7 @@ tbresult=${tbinfo[@]}
# failed="$failed TB missing nic " # failed="$failed TB missing nic "
# failed="$failed TB extra nic " # failed="$failed TB extra nic "
if [[ "$ifresult" || "$tbresult" ]] ; then if [[ ! "$ifresult" && ! "$tbresult" ]] ; then
if [[ $ifresult ]] ; then if [[ $ifresult ]] ; then
failed="${failed}: NotIn TB $ifresult" failed="${failed}: NotIn TB $ifresult"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment