From 441124f457a8c0da41d8cda5de09cbbb22371d8a Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 20 Jun 2011 14:41:28 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/dhcp.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index f35ae4a7a..28bb4c5de 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -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;