From 8f4c6e4d8d1fd00db08bf089f4003243cc633a4a Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 3 Oct 2016 20:00:38 +0100 Subject: 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. --- ulri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ulri') 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")); } -- cgit v1.2.1