diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 5bf570a87..49d8c0827 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -3331,7 +3331,7 @@ sub filter_nostatusupdate{ map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_INSTALLING}}; delete $inref->{$::STATUS_INSTALLING}; if(@nodesfiltered){ - ($inref->{$::STATUS_INSTALLING})=@nodesfiltered; + @{$inref->{$::STATUS_INSTALLING}}=@nodesfiltered; } } @@ -3340,7 +3340,7 @@ sub filter_nostatusupdate{ map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_NETBOOTING}}; delete $inref->{$::STATUS_NETBOOTING}; if(@nodesfiltered){ - ($inref->{$::STATUS_NETBOOTING})=@nodesfiltered; + @{$inref->{$::STATUS_NETBOOTING}}=@nodesfiltered; } }