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:
@ -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 = $? ;
|
||||
|
Reference in New Issue
Block a user