From 6852ec39b4a3b664955cbeff9b959dda8a022c42 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 26 Mar 2008 13:22:34 +0000 Subject: [PATCH] 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 --- xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm b/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm index e44ad6edd..fc53d0a11 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm @@ -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)