aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-10-03 20:00:38 +0100
committerPascal Terjan <pterjan@gmail.com>2016-10-03 20:00:43 +0100
commit8f4c6e4d8d1fd00db08bf089f4003243cc633a4a (patch)
tree7a5c3699bedab9d9a91a9f1b67da31e06bbf57bb /ulri
parent63352bf7e3386bb9312aa288777907834be69466 (diff)
downloadiurt-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.
Diffstat (limited to 'ulri')
-rwxr-xr-xulri2
1 files changed, 1 insertions, 1 deletions
diff --git a/ulri b/ulri
index 7ed5664..1cb9bf8 100755
--- a/ulri
+++ b/ulri
@@ -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"));
}