From b572fc52b41a8f298b7947fc7fec873224f5907d Mon Sep 17 00:00:00 2001 From: immarvin Date: Wed, 25 Mar 2015 20:38:17 -0700 Subject: [PATCH] fix defect #4620 pgsqlsetup script hang on sles11.3 --- perl-xCAT/xCAT/Utils.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index bce499e13..838b0fe59 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -4124,7 +4124,9 @@ sub restartservice{ return -1; } - xCAT::Utils->runcmd($cmd, -1); + #xCAT::Utils->runcmd($cmd, -1); + system($cmd); + $::RUNCMD_RC=$?; return $::RUNCMD_RC; }