From 96bc6b19458cdf26134c398cb62e1b68802aa70a Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 17 Nov 2010 14:09:03 +0000 Subject: [PATCH] Exit with error if db2start fails git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/db2sqlsetup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-client/bin/db2sqlsetup b/xCAT-client/bin/db2sqlsetup index e4a5bf30a..cc411f5c0 100755 --- a/xCAT-client/bin/db2sqlsetup +++ b/xCAT-client/bin/db2sqlsetup @@ -951,6 +951,8 @@ sub db2start if ($rc != 0) { xCAT::MsgUtils->message("W", " $cmd failed."); + &startxcatd; + exit(1); } }