From c7dcb9160c8a5c5047c91fb3b581344cc796a533 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 27 Aug 2012 18:26:22 +0000 Subject: [PATCH] uncomment use strict and fix incorrect variable git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)