From: Máté Kocsis Date: Fri, 15 Nov 2019 19:50:33 +0000 (+0100) Subject: Return false when "Unable to fork" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16e68ac53a436bbfe205cbccece7cc6c56f8c4d8;p=php Return false when "Unable to fork" --- diff --git a/ext/standard/exec.c b/ext/standard/exec.c index ffa4d444dd..21ebba891d 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -197,6 +197,7 @@ done: return pclose_return; err: pclose_return = -1; + RETVAL_FALSE; goto done; } /* }}} */