Skip to content

Commit

Permalink
Replace panic with log.Fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Feb 5, 2021
1 parent 77a7e69 commit fbe814c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func main() {

dbusConn, err = dbus.SessionBus()
if err != nil {
panic(err)
log.Fatal(err)
}

x = Connect(os.Getenv("DISPLAY"))
Expand Down

0 comments on commit fbe814c

Please sign in to comment.