Check for exit code is equal to 0 instead of 127
parent
5ae5963acd
commit
67083e436b
|
@ -370,7 +370,7 @@ class Perforce
|
|||
$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)
|
||||
|
|
Loading…
Reference in New Issue