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