Skip to content

Commit

Permalink
Fix check for TMT_TOPOLOGY_BASH
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaarreell committed Aug 14, 2023
1 parent 9c86667 commit 8a0d00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Multihost/basic-attestation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 8a0d00e

Please sign in to comment.