Commit Diff


commit - f5d30fbb425287166f3a3ce74eca6adf547bdef7
commit + 8193d041d9f06ea7e99fa60f48a738cea4991644
blob - d3eea29f69ea054358d900dc3bf36054a5252946
blob + 249d3d3235c218b16fe5bcf292918af2438c1a73
--- gotd/repo_write.c
+++ gotd/repo_write.c
@@ -1447,6 +1447,6 @@ repo_write_shutdown(void)
 	if (repo_write.repo)
 		got_repo_close(repo_write.repo);
 	got_repo_pack_fds_close(repo_write.pack_fds);
-	got_repo_temp_fds_close(repo_write.pack_fds);
+	got_repo_temp_fds_close(repo_write.temp_fds);
 	exit(0);
 }