From ac38b17a5a6894f8e6e7c64d0f9d303156dbb256 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 15 Apr 2013 07:10:48 +0000 Subject: [PATCH] support pgsql on debian/ubuntu git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/pgsqlsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/pgsqlsetup b/xCAT-client/bin/pgsqlsetup index fccd409c1..ef3975e74 100755 --- a/xCAT-client/bin/pgsqlsetup +++ b/xCAT-client/bin/pgsqlsetup @@ -863,7 +863,7 @@ sub pgstart while ($retries < 30) { $retries++; my @status=xCAT::Utils->runcmd($cmd, -1); - if (grep(/running/, @status)) { + if (grep(/[r|R]unning/, @status)) { $pgstarted=1; last; }