Commit Diff


commit - 7fed8fa426806e627fcf1e344e4ce134b17a0474
commit + 04833bad8b901b044bbbf61cb813c49ffee4f8b1
blob - b42b127d69d3375ec7b60d13ece2d83c19a030b5
blob + 3141033d45e0ffee23a98bd4f3343dc3b12af2d1
--- gotwebd/parse.y
+++ gotwebd/parse.y
@@ -400,7 +400,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;