Skip to content

Commit

Permalink
Journald: gofmt to satisfy ci tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Gill committed Apr 14, 2021
1 parent 184b7ae commit 2f17ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions journal/journal_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ func Enabled() bool {

conn, err := net.Dial("unixgram", journalSocket)

if err != nil {
if err != nil {
return false
}

defer conn.Close()
defer conn.Close()

return true
}
Expand Down

0 comments on commit 2f17ced

Please sign in to comment.