fix for bug 3630: typo with opt_nc and opt_c

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2013-06-19 01:38:20 +00:00
parent b6969b9817
commit e2d8a38928

View File

@ -57,7 +57,7 @@ sub getObjectsOfType
# The database may be changed between getObjectsOfType calls
# do not use cache %::saveObjList if --nocache is specified
if ($::saveObjList{$type} && !$::opt_c)
if ($::saveObjList{$type} && !$::opt_nc)
{
@objlist = @{$::saveObjList{$type}};
}
@ -606,7 +606,7 @@ sub getDBtable
# save this table info - in case this subr gets called multiple times
# --nocache flag specifies not to use cahe
if (grep(/^$table$/, @::foundTableList) && !$::opt_c)
if (grep(/^$table$/, @::foundTableList) && !$::opt_nc)
{
# already have this