Fixed crash in ZTS build with --repeat option

This commit is contained in:
Dmitry Stogov 2021-01-21 11:39:13 +03:00
parent 13c430b1db
commit ba89dcb75a

View file

@ -898,6 +898,7 @@ do_repeat:
php_optind++;
}
if (script_file) {
virtual_cwd_activate();
if (cli_seek_file_begin(&file_handle, script_file) != SUCCESS) {
goto err;
} else {