]> git.pld-linux.org Git - packages/php.git/blame - php-5.3.7-bug-52496.patch
use /usr/sbin/php-fpm as other branches
[packages/php.git] / php-5.3.7-bug-52496.patch
CommitLineData
fb98beff
ER
1--- PHP_5_3/sapi/cli/php_cli.c 2011/05/30 15:55:32 311599
2+++ PHP_5_3/sapi/cli/php_cli.c 2011/05/30 15:57:50 311600
3@@ -799,7 +799,7 @@
4 request_started = 1;
5 php_cli_usage(argv[0]);
6 php_end_ob_buffers(1 TSRMLS_CC);
7- exit_status=0;
8+ exit_status = (c == '?' && argc > 1 && !strchr(argv[1], c));
9 goto out;
10
11 case 'i': /* php info & quit */
This page took 0.057258 seconds and 4 git commands to generate.