Fix bug 3184683:makedhcp -a shouldn't return error with nodes doesn't reach

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-06-20 14:41:28 +00:00
parent 8b902c9bc2
commit 441124f457

View File

@ -283,8 +283,7 @@ sub addnode
{
$callback->(
{
error => ["Unable to open mac table, it may not exist yet"],
errorcode => [1]
warning => ["Unable to open mac table, it may not exist yet"]
}
);
return;
@ -294,8 +293,7 @@ sub addnode
{
$callback->(
{
error => ["Unable to find mac address for $node"],
errorcode => [1]
warning => ["Unable to find mac address for $node"]
}
);
return;