summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doPull.go b/doPull.go
index 0725ba3..edf3adf 100644
--- a/doPull.go
+++ b/doPull.go
@@ -33,7 +33,7 @@ func rillPull(repo *gitpb.Repo) error {
var cmd []string
cmd = append(cmd, "git", "pull")
- _, err := repo.RunVerbose(cmd)
+ err := repo.RunVerbose(cmd)
if err != nil {
log.Info(repo.GetFullPath(), "git pull err:", err)
}
@@ -89,7 +89,7 @@ func rillFetchMaster(repo *gitpb.Repo) error {
}
branch := repo.GetMasterBranchName()
cmd := []string{"git", "fetch", "origin", branch + ":" + branch}
- _, err := repo.RunVerbose(cmd)
+ err := repo.RunVerbose(cmd)
return err
}