From 0a0e28e82b7633cc2827995d9eaa64aeddd833a7 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 7 Jun 2006 04:15:58 +0000 Subject: [PATCH] Valid exit status codes range from 0 to 254. --- includes/AjaxDispatcher.php | 2 +- includes/AjaxFunctions.php | 2 +- includes/CategoryPage.php | 2 +- includes/DefaultSettings.php | 2 +- includes/SkinTemplate.php | 2 +- includes/proxy_check.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php index ae0d3e3470..2084c3667a 100644 --- a/includes/AjaxDispatcher.php +++ b/includes/AjaxDispatcher.php @@ -16,7 +16,7 @@ require_once( 'AjaxFunctions.php' ); if ( ! $wgUseAjax ) { - die ( -1 ); + die( 1 ); } class AjaxDispatcher { diff --git a/includes/AjaxFunctions.php b/includes/AjaxFunctions.php index 3580a293c5..73af03ce22 100644 --- a/includes/AjaxFunctions.php +++ b/includes/AjaxFunctions.php @@ -1,7 +1,7 @@