summaryrefslogtreecommitdiff
path: root/doDebian.go
diff options
context:
space:
mode:
Diffstat (limited to 'doDebian.go')
-rw-r--r--doDebian.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/doDebian.go b/doDebian.go
index ebdd4f3..8d6aa3e 100644
--- a/doDebian.go
+++ b/doDebian.go
@@ -6,6 +6,7 @@ package main
import (
"path/filepath"
+ "go.wit.com/lib/gui/shell"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -51,10 +52,12 @@ func doDebian() {
me.forge.ConfigRill(16, 16)
stats := me.forge.RunOnRepos(found, doInstallRepo)
for s, stat := range stats {
- log.Info(s, stat.Err)
- if stat.Err != nil {
- badExit(stat.Err)
+ if stat.Err == nil {
+ continue
}
+ dur := stat.End.Sub(stat.Start)
+ log.Info("CRAP. INSTALL FAILED", shell.FormatDuration(dur), s, stat.Err)
+ badExit(stat.Err)
}
me.forge.ConfigRill(16, 16)