correctly report installation failures

Prior to this, installations failed silently.
This commit is contained in:
Josh Bleecher Snyder 2017-05-23 07:43:32 -07:00
parent 3e6cff0740
commit de4cdce279
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func Install(cmd string) error {
for _, i := range is { for _, i := range is {
errI := i.Install(cmd, bin) errI := i.Install(cmd, bin)
if errI != nil { if errI != nil {
multierror.Append(err, errI) err = multierror.Append(err, errI)
} }
} }