aboutsummaryrefslogtreecommitdiff
path: root/gomuks.go
diff options
context:
space:
mode:
Diffstat (limited to 'gomuks.go')
-rw-r--r--gomuks.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/gomuks.go b/gomuks.go
index 237d3e9..5fa0a8a 100644
--- a/gomuks.go
+++ b/gomuks.go
@@ -126,5 +126,6 @@ func (gmx *gomuks) UI() *GomuksUI {
}
func main() {
- NewGomuks(true).Start()
+ debug := os.Getenv("DEBUG")
+ NewGomuks(len(debug) > 0).Start()
}