From: eldy <> Date: Mon, 24 Dec 2001 15:33:46 +0000 (+0000) Subject: Return code is 2 when wrong parameters X-Git-Tag: AWSTATS_4_0_BETA~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bd6492b8b9a634778b8d830ace132bbdd5ee83c;p=thirdparty%2FAWStats.git Return code is 2 when wrong parameters --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 4371914a..68e592b0 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -95,7 +95,7 @@ $color_h, $color_k, $color_p, $color_s, $color_u, $color_v)= %monthlib = %monthnum = (); -$VERSION="3.2 (build 83)"; +$VERSION="3.2 (build 84)"; $Lang="en"; # Default value @@ -1698,7 +1698,7 @@ if ((! $ENV{"GATEWAY_INTERFACE"}) && (! $SiteConfig)) { print " Report by day/month/year\n"; print " And a lot of other advanced options...\n"; print "New versions and FAQ at http://awstats.sourceforge.net\n"; - exit 0; + exit 2; } # Get current time