From 8a0d00e921c4236075315f0ae6dd1bd0976f0870 Mon Sep 17 00:00:00 2001 From: Karel Srot Date: Mon, 14 Aug 2023 11:37:41 +0200 Subject: [PATCH] Fix check for TMT_TOPOLOGY_BASH --- Multihost/basic-attestation/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Multihost/basic-attestation/test.sh b/Multihost/basic-attestation/test.sh index 8bc6c983..9663fbd4 100755 --- a/Multihost/basic-attestation/test.sh +++ b/Multihost/basic-attestation/test.sh @@ -39,7 +39,7 @@ function assign_server_roles() { - if [ -f ${TMT_TOPOLOGY_BASH} ]; then + if [ -n "${TMT_TOPOLOGY_BASH}" ] && [ -f ${TMT_TOPOLOGY_BASH} ]; then # assign roles based on tmt topology data cat ${TMT_TOPOLOGY_BASH} . ${TMT_TOPOLOGY_BASH}