From fec6149ffa7bfaa835271846752234b0d337c7f6 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 10 Mar 2009 20:29:59 +0000 Subject: [PATCH] fix to allow strict git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/servicenode | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/servicenode b/xCAT/postscripts/servicenode index 2dc0357af..50bb1468d 100755 --- a/xCAT/postscripts/servicenode +++ b/xCAT/postscripts/servicenode @@ -85,14 +85,14 @@ sub runcmd my $rc=0; $cmd .= ' 2>&1' ; - $::outref = []; - $::outref = `$cmd`; + my $outref = []; + @$outref = `$cmd`; if ($?) { $rc = $? >> 8; if ($rc > 0) { - my $msg="$cmd returned rc=$rc @$::outref\n"; + my $msg="$cmd returned rc=$rc @$outref\n"; `logger -t xcat $msg`; } }