]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/pkgindex.cgi
[project @ 2003-05-03 20:42:15 by doogie]
[debbugs.git] / cgi / pkgindex.cgi
index 88f875f11168e8c2042e8aee7088ed54b4acc9c1..69cc552240312646181c640102df314d031e5af7 100755 (executable)
@@ -17,14 +17,14 @@ my %param = readparse();
 
 my $indexon = $param{'indexon'} || 'pkg';
 if ($indexon !~ m/^(pkg|maint|submitter)$/) {
-    quit("You have to choose something to index on");
+    quitcgi("You have to choose something to index on");
 }
 
 my $repeatmerged = ($param{'repeatmerged'} || "yes") eq "yes";
 my $archive = ($param{'archive'} || "no") eq "yes";
 my $sortby = $param{'sortby'} || 'alpha';
 if ($sortby !~ m/^(alpha|count)$/) {
-    quit("Don't know how to sort like that");
+    quitcgi("Don't know how to sort like that");
 }
 
 #my $include = $param{'include'} || "";