summaryrefslogtreecommitdiffstats
path: root/drush-issue2065.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-08 11:11:00 +0100
committerRemi Collet <remi@remirepo.net>2018-01-08 11:11:00 +0100
commitf7ae5ee83d54b1c5366329158ca3dd6780f43bd8 (patch)
tree04554123c651ae9d3c2dcb8be14923aab59d3a77 /drush-issue2065.patch
import from Fedora
Diffstat (limited to 'drush-issue2065.patch')
-rw-r--r--drush-issue2065.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/drush-issue2065.patch b/drush-issue2065.patch
new file mode 100644
index 0000000..de8cebf
--- /dev/null
+++ b/drush-issue2065.patch
@@ -0,0 +1,15 @@
+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) {
+ }
+ }
+
+- // Always use pcntl_exec if it exists.
+- $use_pcntl_exec = function_exists("pcntl_exec");
++ // https://github.com/drush-ops/drush/issues/2065
++ $use_pcntl_exec = FALSE;
+
+ // If we have posix_getppid, then pass in the shell pid so
+ // that 'site-set' et. al. can work correctly.