From 5c3c53b6edf4f6c01b87186475cf52e12f343025 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 16 Nov 2010 12:45:25 +0000 Subject: [PATCH] start daemon after create instance failure git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/db2sqlsetup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-client/bin/db2sqlsetup b/xCAT-client/bin/db2sqlsetup index c81789b1f..e4a5bf30a 100755 --- a/xCAT-client/bin/db2sqlsetup +++ b/xCAT-client/bin/db2sqlsetup @@ -745,7 +745,10 @@ sub setupinstance if ($::RUNCMD_RC != 0) { # if error exit xCAT::MsgUtils->message("E", " $cmd failed."); + # start the daemon + &startxcatd; exit(1); + } # setup instance