Call HandleExitCoder for all members of MultiError.Errors
This commit is contained in:
parent
d53eb99165
commit
ce42837702
@ -86,8 +86,9 @@ func HandleExitCoder(err error) {
|
|||||||
|
|
||||||
if multiErr, ok := err.(MultiError); ok {
|
if multiErr, ok := err.(MultiError); ok {
|
||||||
for _, merr := range multiErr.Errors {
|
for _, merr := range multiErr.Errors {
|
||||||
HandleExitCoder(merr)
|
fmt.Fprintln(ErrWriter, merr)
|
||||||
}
|
}
|
||||||
|
OsExiter(1)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user