From 44cb178c891b695f36a1a09f6cb7c4e47a997d9f Mon Sep 17 00:00:00 2001 From: tycho garen Date: Tue, 15 Mar 2022 09:09:40 -0400 Subject: [PATCH] fix lint --- internal/libs/autofile/cmd/logjack.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/libs/autofile/cmd/logjack.go b/internal/libs/autofile/cmd/logjack.go index 0896d45a5..c3c466503 100644 --- a/internal/libs/autofile/cmd/logjack.go +++ b/internal/libs/autofile/cmd/logjack.go @@ -75,9 +75,8 @@ func main() { if err != nil { if err == io.EOF { return - } else { - stdlog.Fatalln("logjack errored:", err.Error()) } + stdlog.Fatalln("logjack errored:", err.Error()) } _, err = group.Write(buf[:n]) if err != nil {