From a1e07e2370fb24da77bcb2c55f71bb5c2d2e0bd9 Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 14 May 2010 07:41:43 +0000 Subject: [PATCH] Use of uninitialized value in numeric eq (==) at /opt/xcat/lib/perl/xCAT/Utils.pm---- fixed this defect git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index e15e1c8fa..af8772e7d 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -5773,7 +5773,7 @@ sub setupAIXconserver else { $msg = "ln -sf /opt/freeware/sbin/conserver /usr/sbin/conserver."; - if( $verbose == 1) { + if( $verbose ) { xCAT::MsgUtils->message("I", $msg); } } @@ -5793,7 +5793,7 @@ sub setupAIXconserver { $msg = "ln -sf /opt/freeware/bin/console /usr/sbin/console."; - if( $verbose == 1) { + if( $verbose ) { xCAT::MsgUtils->message("I", $msg); } }