Skip to content

Commit

Permalink
fixes #5041 Fix typo. Kuddos @KlausKW for the find!
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed May 14, 2014
1 parent 7c2bab3 commit 6b18957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/CliMulti/Process.php
Expand Up @@ -184,7 +184,7 @@ private static function shellExecFunctionIsDisabled()

private static function returnsSuccessCode($command)
{
$exec = $command . ' > /dev/null 2>&1 & echo $?';
$exec = $command . ' > /dev/null 2>&1; echo $?';
$returnCode = shell_exec($exec);
$returnCode = trim($returnCode);
return 0 == (int) $returnCode;
Expand Down

0 comments on commit 6b18957

Please sign in to comment.