@cryptotaxi247 / kubo / commits / d7fa05a70

gc: join multiple errors with "; " instead of a newline

otherwise the daemon will only display the first error License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>

Kevin Atkinson committed Feb 23, 2017 at 02:14 UTC d7fa05a70772d66d54c7b391bd55c3f09c8e10a5
1 file changed +1 -1
core/corerepo/gc.go
+1 -1
@@ -130,7 +130,7 @@ func (e *MultiError) Error() string {
130 var buf bytes.Buffer
131 for _, err := range e.Errors {
132 buf.WriteString(err.Error())
133 - buf.WriteString("\n")
133 + buf.WriteString("; ")
134 }
135 buf.WriteString(e.Summary.Error())
136 return buf.String()