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:
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user