summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.go b/init.go
index 94b58d3..e91b9e9 100644
--- a/init.go
+++ b/init.go
@@ -9,6 +9,7 @@ import (
"time"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/hostname"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -149,6 +150,8 @@ func (f *Forge) InitMachine() {
usr, _ := user.Current()
f.Config.Username = usr.Username
}
+ f.hostname, _ = hostname.Get()
+ // log.Info(hostname, err)
}
// only init's the protobuf. intended to not scan or change anything