From 746792eed9435bf7174ceb6080882398bb8c1f4f Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 26 May 2011 08:36:06 +0000 Subject: [PATCH] fix for flag conflict between --nocache and --compress git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index e7506cf9b..942992be1 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -259,7 +259,7 @@ sub processArgs 'w=s@' => \$::opt_w, 'x|xml' => \$::opt_x, 'z|stanza' => \$::opt_z, - 'nocache' => \$::opt_c, + 'nocache' => \$::opt_nc, 'S' => \$::opt_S, ) ) @@ -273,7 +273,7 @@ sub processArgs # Initialize some global arrays in case this is being called twice in the same process. # Currently only doing this when --nocache is specified, but i think it should be done all of the time. - if ($::opt_c) { + if ($::opt_nc) { &initialize_variables(); }