From 0b6940f42aaea18dcbf17aff9a34910e04daccb6 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 10 Nov 2009 13:49:26 +0000 Subject: [PATCH] Workaround for defect 2883774 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index a62cc9d3b..3c62f7b95 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -565,7 +565,7 @@ sub _execute_dsh delete $error_buffers{$user_target}; my $exit_code = $targets_buffered{$user_target}{'exit-code'}; - my $target_rc = $targets_buffered{$user_target}{'target-rc'}; + my $target_rc = ($targets_buffered{$user_target}{'target-rc'}) ? $targets_buffered{$user_target}{'target-rc'} : 0; my $rsp = {}; if ($exit_code != 0)