Fix bug #80757 (Exit code is 0 when could not open file)

This commit is contained in:
Felipe Pena 2021-02-24 18:17:27 +00:00
parent 78b0a85de6
commit 3ec37a74a2

View file

@ -773,6 +773,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;
}
}