fix the error callback in dhcp.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12124 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2012-04-04 20:10:16 +00:00
parent aa42b86b24
commit 0dfad6d08a

View File

@ -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"]});
}
}