From de4cdce2792936278aa04742a63a6760ba67d230 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 23 May 2017 07:43:32 -0700 Subject: [PATCH] correctly report installation failures Prior to this, installations failed silently. --- cmd/install/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }