From 7be4bcfbd87bd635773768b74c104701b6922895 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 11 Sep 2008 01:53:44 +0000 Subject: [PATCH] -Specify scope of 'out' variable git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index 7a67440fe..52ab7f7ea 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -1736,7 +1736,7 @@ sub getAttribs $exp =~ /^{hostname}$/ && do { $out = qx/hostname/; chomp $out; $expfound = 1; }; $exp =~ /^{xcatmaster}$/ && do { my $ostab = xCAT::Table->new('site'); - $out = $ostab->getAttribs({key=>"master"},'value'); + my $out = $ostab->getAttribs({key=>"master"},'value'); if ($out and $out->{value}) { $out = $out->{'value'}; $expfound = 1; }