From 61e76db19a3240a24b55a4375b9bf17ab78e1cec Mon Sep 17 00:00:00 2001 From: linggao Date: Wed, 4 Apr 2012 20:08:10 +0000 Subject: [PATCH] fix the error callback in dhcp.pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index 22ef08397..16a7b537d 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -1168,10 +1168,10 @@ sub process_request } } if ($usingipv6 and $missingfiles{dhcpd6}) { - $callback->({error=>"The file /etc/sysconfig/dhcpd6 doesn't exist, check the dhcp server"}); + $callback->({error=>["The file /etc/sysconfig/dhcpd6 doesn't exist, check the dhcp server"]}); } if ($missingfiles{dhcpd}) { - $callback->({error=>"The file /etc/sysconfig/dhcpd doesn't exist, check the dhcp server"}); + $callback->({error=>["The file /etc/sysconfig/dhcpd doesn't exist, check the dhcp server"]}); } }