aboutsummaryrefslogtreecommitdiff
path: root/src/fetch_git.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch_git.c')
-rw-r--r--src/fetch_git.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fetch_git.c b/src/fetch_git.c
index 04f6428..85275d3 100644
--- a/src/fetch_git.c
+++ b/src/fetch_git.c
@@ -23,7 +23,6 @@ int fetch_git(Pkg pkg) {
argv[i++] = pkg.url;
argv[i++] = pkg.src;
argv[i] = NULL;
-
execvp("git", (char *const *)argv);
_exit(127);
}
@@ -31,7 +30,6 @@ int fetch_git(Pkg pkg) {
int status;
waitpid(pid, &status, 0);
int result = WIFEXITED(status) ? WEXITSTATUS(status) : -1;
-
if (result != 0) {
printf("clone failed\n");
}