From: Ian Jackson Subject: [OSSTEST PATCH 6/9] ts-hosts-allocate-Executive: Clarify an expression with // Date: Tue, 11 Nov 2014 19:41:47 +0000 Message-ID: <1415734910-4647-7-git-send-email-ian.jackson@eu.citrix.com> References: <1415734910-4647-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XoHKF-0005iy-Bw for xen-devel@lists.xenproject.org; Tue, 11 Nov 2014 19:42:05 +0000 In-Reply-To: <1415734910-4647-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org No functional change. Signed-off-by: Ian Jackson --- ts-hosts-allocate-Executive | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive index fc54cda..9562a0a 100755 --- a/ts-hosts-allocate-Executive +++ b/ts-hosts-allocate-Executive @@ -464,8 +464,7 @@ sub hid_recurse ($$) { !defined($duration) || defined($cand->{Duration}) && $cand->{Duration} >= $duration; $previously_failed++ if - defined $cand->{MostRecentStatus} && - $cand->{MostRecentStatus} eq 'fail'; + ($cand->{MostRecentStatus} // '') eq 'fail'; } my $duration_rightaway_adjust= 0; -- 1.7.10.4