Commit bb5126eae54e9983853ff1474cb79031db490c2e

Stefan Sperling 2021-06-22T19:37:49

packing requires unveiling the repository read/write; found by semarie

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/gotadmin/gotadmin.c b/gotadmin/gotadmin.c
index 090d85e..624efcf 100644
--- a/gotadmin/gotadmin.c
+++ b/gotadmin/gotadmin.c
@@ -569,7 +569,7 @@ cmd_pack(int argc, char *argv[])
 	if (error)
 		goto done;
 
-	error = apply_unveil(got_repo_get_path_git_dir(repo), 1);
+	error = apply_unveil(got_repo_get_path_git_dir(repo), 0);
 	if (error)
 		goto done;