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
This commit is contained in:
xq2005 2013-04-15 07:13:00 +00:00
parent 575100ab75
commit 63b5ea43c9

View File

@ -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;
}