diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-10-03 20:00:38 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-10-03 20:00:43 +0100 |
commit | 8f4c6e4d8d1fd00db08bf089f4003243cc633a4a (patch) | |
tree | 7a5c3699bedab9d9a91a9f1b67da31e06bbf57bb | |
parent | 63352bf7e3386bb9312aa288777907834be69466 (diff) | |
download | iurt-8f4c6e4d8d1fd00db08bf089f4003243cc633a4a.tar iurt-8f4c6e4d8d1fd00db08bf089f4003243cc633a4a.tar.gz iurt-8f4c6e4d8d1fd00db08bf089f4003243cc633a4a.tar.bz2 iurt-8f4c6e4d8d1fd00db08bf089f4003243cc633a4a.tar.xz iurt-8f4c6e4d8d1fd00db08bf089f4003243cc633a4a.zip |
Remove some useless connection to the build node
If we know the build is completed there is no point checking the
state of the remote process.
-rwxr-xr-x | ulri | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,7 +361,7 @@ foreach my $prefix (keys %pkg_tree) { # my $proc_state; - if (!$fail) { + if (!$success && !$later && !$fail) { # Need to differenciate process not running with failure to ssh chomp($proc_state = sout($remote, "ps h -o state $pid || echo NOT_RUNNING")); } |