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
This commit is contained in:
linggao 2012-04-04 20:08:10 +00:00
parent 6cd35e6f9c
commit 61e76db19a

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