mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fixed bug #52496 (Zero exit code on option parsing failure).
This commit is contained in:
parent
9392b9cd73
commit
f5779d5e16
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ int main(int argc, char *argv[])
|
|||
request_started = 1;
|
||||
php_cli_usage(argv[0]);
|
||||
php_output_end_all(TSRMLS_C);
|
||||
exit_status=0;
|
||||
exit_status = (c == '?' && argc > 1 && !strchr(argv[1], c));
|
||||
goto out;
|
||||
|
||||
case 'i': /* php info & quit */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue