]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Return code is 2 when wrong parameters
authoreldy <>
Mon, 24 Dec 2001 15:33:46 +0000 (15:33 +0000)
committereldy <>
Mon, 24 Dec 2001 15:33:46 +0000 (15:33 +0000)
wwwroot/cgi-bin/awstats.pl

index 4371914ac36a2a7254a9c8fc1c65597830e68abd..68e592b029505ab8807b886b4a1f3e4f96054c3e 100644 (file)
@@ -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