Commit Diff


commit - b061482840b244c4645851c4a02a9ce9723b9fc5
commit + 20f279724bc851d5e6b52144ce9a6ba987d5fc5d
blob - 5ef647901c4a642a50747f22cc3093323a84337f
blob + 83c2090733aa8f9c295326ceac9aed5fc1cf7ae4
--- gotwebd/parse.y
+++ gotwebd/parse.y
@@ -399,7 +399,7 @@ serveropts1	: REPOS_PATH STRING {
 			new_srv->respect_exportok = $2;
 		}
 		| MAX_REPOS_DISPLAY NUMBER {
-			if ($2 <= 0) {
+			if ($2 < 0) {
 				yyerror("max_repos_display is too small: %lld",
 				    $2);
 				YYERROR;