diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
