summaryrefslogtreecommitdiff
path: root/cmd/install/install.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <[email protected]>2017-05-23 07:43:32 -0700
committerJosh Bleecher Snyder <[email protected]>2017-05-23 07:43:32 -0700
commitde4cdce2792936278aa04742a63a6760ba67d230 (patch)
tree90d4a269aa5e422ba5b0cf36da611748776683b8 /cmd/install/install.go
parent3e6cff0740a53c8e9d6106ad29a4fd1bc4536c99 (diff)
correctly report installation failures
Prior to this, installations failed silently.
Diffstat (limited to 'cmd/install/install.go')
-rw-r--r--cmd/install/install.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/install/install.go b/cmd/install/install.go
index 11581c1..0a93128 100644
--- a/cmd/install/install.go
+++ b/cmd/install/install.go
@@ -29,7 +29,7 @@ func Install(cmd string) error {
for _, i := range is {
errI := i.Install(cmd, bin)
if errI != nil {
- multierror.Append(err, errI)
+ err = multierror.Append(err, errI)
}
}