diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 8d42fbb1b..735f7bae6 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -24,7 +24,7 @@ use File::Basename; use xCAT::GlobalDef; use xCAT_monitoring::monitorctrl; use Socket; -#use strict; +use strict; my $CALLBACK; my $RERUNPS4SECURITY; 1; @@ -543,7 +543,7 @@ sub preprocess_updatenode foreach my $snkey (keys %$sn) { - my @tmp_a=split(',',$s); + my @tmp_a=split(',',$snkey); foreach my $s1 (@tmp_a) { if ($::SECURITY && !(grep /^$s1$/, @good_sns)