From 63b5ea43c9abfce6472fdf7efaf0355ac7adf8c3 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 15 Apr 2013 07:13:00 +0000 Subject: [PATCH] support pgsql on debian/ubuntu git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15972 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; }