Commit Diff


commit - b4065bfcafb3421d29197dff9ffcd55ee58fa831
commit + ba55351b42dce102aca4b961ae2efee873b16f56
blob - 532cb2f0f6b9415c1433f00e174bb0fd10c72992
blob + 4920a6dec9f53186127eaaca71614011c8122a7d
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -865,7 +865,7 @@ gotweb_render_index(struct template *tp)
 			continue;
 
 		error = gotweb_load_got_path(c, repo_dir);
-		if (error && error->code == GOT_ERR_LONELY_PACKIDX) {
+		if (error && error->code != GOT_ERR_LONELY_PACKIDX) {
 			if (error->code != GOT_ERR_NOT_GIT_REPO)
 				log_warnx("%s: %s: %s", __func__,
 				    sd_dent[d_i]->d_name, error->msg);