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
This commit is contained in:
ligc 2011-05-26 08:36:06 +00:00
parent ce7718e31d
commit 746792eed9

View File

@ -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();
}