Commit 4362cf9c24c2ad037cda602ae688bef54869f793

Tracey Emery 2022-01-24T16:44:19

style

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index deca211..ec7d4be 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -2001,8 +2001,7 @@ gw_load_got_paths(struct gw_trans *gw_trans)
 		if (error && error->code == GOT_ERR_NOT_GIT_REPO) {
 			error = NULL;
 			continue;
-		}
-		else if (error && error->code != GOT_ERR_LONELY_PACKIDX)
+		} else if (error && error->code != GOT_ERR_LONELY_PACKIDX)
 			goto done;
 
 		if (lstat(gw_dir->path, &st) == 0 && S_ISDIR(st.st_mode) &&