commit f535bcd44604b1994b9d4fe351236dc1a69758d8 from: Stefan Sperling date: Wed Sep 30 16:38:17 2020 UTC fix 'bad path' error from 'got clone' by unveiling the repository path again Problem found by jrick commit - 9814e6a376df853a88deb889d68f178c803ad8ca commit + f535bcd44604b1994b9d4fe351236dc1a69758d8 blob - b8f662a112135fe0364e2a25eb0fe2976ba10cf1 blob + e2b4927b8bb743bb45718b5c21b186f11b4f918a --- got/got.c +++ got/got.c @@ -1472,7 +1472,7 @@ cmd_clone(int argc, char *argv[]) goto done; } } - error = apply_unveil(repo ? got_repo_get_path(repo) : NULL, 0, NULL); + error = apply_unveil(repo_path, 0, NULL); if (error) goto done;