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:
parent
ccf5e0cb2b
commit
343e1a8040
@ -918,7 +918,7 @@ sub defmk
|
||||
}
|
||||
|
||||
# if object already exists
|
||||
if (grep(/$obj/, @{$objTypeLists{$type}}))
|
||||
if (grep(/^$obj$/, @{$objTypeLists{$type}}))
|
||||
{
|
||||
if ($::verbose)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user