2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-01 10:25:33 +00:00

Merge pull request #1043 from hu-weihua/xcattest

Fix issue 998 again,  restore xcattest back to original before bash dash problem
This commit is contained in:
Xiaopeng Wang
2016-05-05 21:11:10 +08:00

View File

@ -883,7 +883,7 @@ sub runcmd
my $rc = 0;
$::RUNCMD_RC = 0;
my $outref = [];
@$outref = `/bin/bash -lic '$cmd 2>&1'`;
@$outref = `$cmd 2>&1`;
if ($?)
{
$rc = $? ;