Whamcloud - gitweb
LU-15672 tests: fix typo in facet_failover_host()
[fs/lustre-release.git] / lustre / tests / test-framework.sh
index a8a95b0..1dfb655 100755 (executable)
@@ -4099,9 +4099,8 @@ facet_failover_host() {
        fi
 
        if combined_mgs_mds && [ $facet == "mgs" ] &&
-               [ -z $mds1failover_HOST ]; then
-               temp=mds1failover_HOST
-               echo ${!temp}
+               [ -n "$mds1failover_HOST" ]; then
+               echo $mds1failover_HOST
                return
        fi