From d7fa05a70772d66d54c7b391bd55c3f09c8e10a5 Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Thu, 23 Feb 2017 02:14:09 -0500 Subject: [PATCH] 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 --- core/corerepo/gc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/corerepo/gc.go b/core/corerepo/gc.go index c7725ecb8..9a6a4e350 100644 --- a/core/corerepo/gc.go +++ b/core/corerepo/gc.go @@ -130,7 +130,7 @@ func (e *MultiError) Error() string { var buf bytes.Buffer for _, err := range e.Errors { buf.WriteString(err.Error()) - buf.WriteString("\n") + buf.WriteString("; ") } buf.WriteString(e.Summary.Error()) return buf.String()