Fix grep to avoid bogus error message

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-04-22 17:29:11 +00:00
parent ccf5e0cb2b
commit 343e1a8040

View File

@ -918,7 +918,7 @@ sub defmk
}
# if object already exists
if (grep(/$obj/, @{$objTypeLists{$type}}))
if (grep(/^$obj$/, @{$objTypeLists{$type}}))
{
if ($::verbose)
{