correctly report installation failures
Prior to this, installations failed silently.
This commit is contained in:
parent
3e6cff0740
commit
de4cdce279
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue