fix 'bad path' error from 'got clone' by unveiling the repository path again Problem found by jrick
diff --git a/got/got.c b/got/got.c
index b8f662a..e2b4927 100644
--- a/got/got.c
+++ b/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;