diff options
author | Derick Rethans <derick@php.net> | 2002-02-15 09:06:45 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-02-15 09:06:45 +0000 |
commit | b8a5daf59cb5a54d217978b6a3ba0de932af6ae8 (patch) | |
tree | d3b10b4a2f29e2e18e7ceb7667dcddd9ef36a87f /sapi/cgi/cgi_main.c | |
parent | fe72f742ebf62787aac3356ee018949fc31b539e (diff) | |
download | php-git-b8a5daf59cb5a54d217978b6a3ba0de932af6ae8.tar.gz |
- Make the errorcode 255. (Doing docs right away)
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r-- | sapi/cgi/cgi_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 41839cb4ad..7ec927bcab 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -759,7 +759,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine if (php_execute_script(&file_handle TSRMLS_CC)) { exit_status = EG(exit_status); } else { - exit_status = -1; + exit_status = 255; } break; case PHP_MODE_LINT: @@ -814,7 +814,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine } } zend_catch { - exit_status = -1; + exit_status = 255; } zend_end_try(); php_module_shutdown(TSRMLS_C); |