Do not error exit is named stop fails.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-03-26 13:22:34 +00:00
parent 1d56a04303
commit 6852ec39b4

View File

@ -98,11 +98,7 @@ sub setup_DNS
}
$cmd = "service named stop";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message("S", "Error from $cmd");
return 1;
}
$cmd = "service named start";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0)