From e58449f98b7f28583b0a8d6efa91051261a53dd6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Jan 2018 11:42:18 +0100 Subject: v8.1.15 --- drush-issue2065.patch | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'drush-issue2065.patch') 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 -- cgit