summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/doPull.go b/doPull.go
index d7a334b..de5a42e 100644
--- a/doPull.go
+++ b/doPull.go
@@ -108,12 +108,12 @@ func doPull() error {
log.Info("path deleted while running?", path)
continue
}
- r := repoerr.Append(repo)
- r.State = "git pull failed"
+ r := repoerr.Clone(repo)
+ r.State = "git pull failed" + repo.State
dur := stat.End.Sub(stat.Start)
if dur > 1*time.Second {
msg := log.Sprintf("pull time (%s)", config.FormatDuration(dur))
- r.State = msg
+ r.State = msg + repo.State
}
}
repoerr.SortNamespace()