From: Ian Jackson Date: Wed, 22 May 2019 15:34:11 +0000 (+0100) Subject: sg-run-job: Use +! in per-host-ts implementation X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=55ce3877fd1288e6ad15f2f24fffea37375a6b63;p=osstest.git sg-run-job: Use +! in per-host-ts implementation This makes this slightly clearer, even more so in a moment. No functional change. Signed-off-by: Ian Jackson --- diff --git a/sg-run-job b/sg-run-job index 3ca725e..3f44cae 100755 --- a/sg-run-job +++ b/sg-run-job @@ -458,11 +458,10 @@ proc per-host-ts {iffail ident script args} { set awaitl {} foreach host $need_xen_hosts { set hostargs {} - if {![string compare $host host]} { - lappend hostargs + $host - } else { - lappend hostargs $host + - } + if {[string compare $host host]} { + lappend hostargs +! $host + } + lappend hostargs + $host lappend awaitl [eval spawn-ts $iffail $ident $script $hostargs $args] }