mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Make "pcntl" script error more explicit
Summary: This may make it easier to debug problems with CLI + pcntl Test Plan: Added a syntax error to the script and got more useful output Reviewers: johnduhart, jungejason, tuomaspelkonen, aran Reviewed By: johnduhart CC: aran, johnduhart Differential Revision: 869
This commit is contained in:
parent
0334a92621
commit
764d3d1c65
1 changed files with 5 additions and 1 deletions
|
@ -156,7 +156,11 @@ class PhabricatorSetup {
|
||||||
$root);
|
$root);
|
||||||
if ($err) {
|
if ($err) {
|
||||||
self::writeFailure();
|
self::writeFailure();
|
||||||
self::write("Unable to execute scripts/setup/pcntl_available.php.");
|
self::write("Unable to execute scripts/setup/pcntl_available.php to ".
|
||||||
|
"test for the availability of pcntl from the CLI.\n".
|
||||||
|
" err: {$err}\n".
|
||||||
|
"stdout: {$stdout}\n".
|
||||||
|
"stderr: {$stderr}\n");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (trim($stdout) == 'YES') {
|
if (trim($stdout) == 'YES') {
|
||||||
|
|
Loading…
Reference in a new issue