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 {