Commit Diff


commit - ce83301270cf9f69214b3b110149d9a3061540c3
commit + f5af6dbdad26b33fb5531b4a06f3b48f77a7db31
blob - 839f0b54202a7ac132ab720ab57149e69514e076
blob + 7adff244e79d7255b82e75217b2f4ef08aea0a1c
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -864,7 +864,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);