aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/core/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/utils.c b/src/lib/core/utils.c
index aa4173c..96c89bb 100644
--- a/src/lib/core/utils.c
+++ b/src/lib/core/utils.c
@@ -331,7 +331,7 @@ int git_clone(struct Process *proc, char *url, char *destdir, char *gitref) {
{
memset(command, 0, sizeof(command));
sprintf(command, "%s fetch --all", program);
- result += shell(proc, command);
+ result = shell(proc, command);
if (gitref != NULL) {
memset(command, 0, sizeof(command));