From 8ce66a26f0c57c6fa1aaa8309f2268c2c36c0731 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 24 Jul 2014 10:46:36 -0400 Subject: [PATCH] defect 4235 --- perl-xCAT/xCAT/DSHCLI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index 9f5cc2ac9..0474528ba 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -4036,7 +4036,7 @@ sub parse_and_run_dsh { # from sinv, discard this name undef @$nodes; } - if (@$nodes) + if ($nodes) { my $rsp = {}; $rsp->{error}->[0] = @@ -4505,7 +4505,7 @@ sub parse_and_run_dcp # # build list of nodes my @nodelist; - if (@$nodes) + if ($nodes) { # there are nodes @nodelist = @$nodes; $options{'nodes'} = join(',', @nodelist);