do not fail if USER is not set

Related to #12.
This commit is contained in:
Gokcehan 2016-09-07 14:37:32 +03:00
parent c93738a6ec
commit a3594319b7

View File

@ -31,7 +31,7 @@ var (
func init() {
if envUser == "" {
log.Fatal("$USER not set")
log.Print("$USER not set")
}
if envHome == "" {
envHome = "/home/" + envUser