1
0
Fork 0

Check for exit code is equal to 0 instead of 127

pull/2329/head
Fabian Grutschus 2013-10-14 15:07:35 +02:00
parent 5ae5963acd
commit 67083e436b
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ class Perforce
$result = ''; $result = '';
$exitCode = $processExecutor->execute('p4 -p ' . $url . ' info -s', $result); $exitCode = $processExecutor->execute('p4 -p ' . $url . ' info -s', $result);
return false === strpos($result, 'error') && 127 != $exitCode; return false === strpos($result, 'error') && 0 == $exitCode;
} }
public function getComposerInformation($identifier) public function getComposerInformation($identifier)