Call HandleExitCoder for all members of MultiError.Errors

This commit is contained in:
HIROSE Masaaki 2016-09-30 19:23:44 +09:00
parent d53eb99165
commit ce42837702

View File

@ -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
} }