From a3594319b7b0890ca6b78d71c910615d73573eb4 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Wed, 7 Sep 2016 14:37:32 +0300 Subject: [PATCH] do not fail if USER is not set Related to #12. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ca7dab0..f007d4f 100644 --- a/main.go +++ b/main.go @@ -31,7 +31,7 @@ var ( func init() { if envUser == "" { - log.Fatal("$USER not set") + log.Print("$USER not set") } if envHome == "" { envHome = "/home/" + envUser