aboutsummaryrefslogtreecommitdiff
path: root/src/fetch_git.c
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-25 06:39:29 +0000
committerdacctal <dacctal@symlinx.net>2026-05-25 06:39:29 +0000
commit2dea5bc2ad4281042758f0e9bfe98fa96bc89412 (patch)
tree325a53d3e82459b91a03e167fc8d32bc1c9f90ec /src/fetch_git.c
parentcb7e87a7889c8ee3f33db43dc2f5653385dc9e29 (diff)
declarative package management
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");
}