diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index ae3803b91..d84c965f3 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -882,7 +882,7 @@ sub runcmd my $rc = 0; $::RUNCMD_RC = 0; my $outref = []; - @$outref = `$cmd 2>&1`; + @$outref = `/bin/bash -lic '$cmd 2>&1'`; if ($?) { $rc = $? ;