diff options
author | Remi Collet <remi@remirepo.net> | 2018-01-08 11:42:18 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-01-08 11:42:18 +0100 |
commit | e58449f98b7f28583b0a8d6efa91051261a53dd6 (patch) | |
tree | f10d8d9084254d0a0e461c7860495bce60850508 /drush-issue2065.patch | |
parent | 1daf80042a208bcfb91048aa589f6c895574da99 (diff) |
v8.1.15
Diffstat (limited to 'drush-issue2065.patch')
-rw-r--r-- | drush-issue2065.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drush-issue2065.patch b/drush-issue2065.patch index de8cebf..90b256d 100644 --- a/drush-issue2065.patch +++ b/drush-issue2065.patch @@ -2,13 +2,11 @@ diff --git a/includes/startup.inc b/includes/startup.inc index 693fede..fedccbf 100644 --- a/includes/startup.inc +++ b/includes/startup.inc -@@ -326,8 +326,8 @@ function drush_startup($argv) { - } +@@ -383,7 +383,7 @@ function drush_startup($argv) { } -- // Always use pcntl_exec if it exists. -- $use_pcntl_exec = function_exists("pcntl_exec"); -+ // https://github.com/drush-ops/drush/issues/2065 + // Always use pcntl_exec if it exists. +- $use_pcntl_exec = function_exists("pcntl_exec") && (strpos(ini_get('disable_functions'), 'pcntl_exec') === FALSE); + $use_pcntl_exec = FALSE; // If we have posix_getppid, then pass in the shell pid so |