summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2021-02-24 19:07:22 +0000
committerFelipe Pena <felipe@php.net>2021-02-24 19:07:22 +0000
commitaaea81de7cd9e5c3c4fd5620cf6d1e5b6195ef32 (patch)
tree90c66d547f5f80a42c44a8907f82a9216d6d8b4f /sapi
parentb7fa5268e4d9ca7ee4c2ae908b6b45b9517d5921 (diff)
parent3ec37a74a27261193155228081ec1bf6df35868e (diff)
downloadphp-git-aaea81de7cd9e5c3c4fd5620cf6d1e5b6195ef32.tar.gz
Merge branch 'PHP-7.4' into PHP-8.0
Diffstat (limited to 'sapi')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index 39ef7d8768..adb31d1e3c 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -764,6 +764,7 @@ PHPDBG_COMMAND(run) /* {{{ */
if (!PHPDBG_G(ops)) {
if (phpdbg_compile() == FAILURE) {
phpdbg_error("compile", "type=\"compilefailure\" context=\"%s\"", "Failed to compile %s, cannot run", PHPDBG_G(exec));
+ EG(exit_status) = FAILURE;
goto out;
}
}