Allow setting a friendly name for the local node (fixes #65)

This commit is contained in:
Jakob Borg
2014-02-10 20:54:37 +01:00
parent b6814241cc
commit 3a5b816125
5 changed files with 137 additions and 65 deletions

View File

@@ -147,6 +147,9 @@ func main() {
infof("Edit %s to taste or use the GUI\n", cfgFile)
}
// Make sure the local node is in the node list.
cfg.Repositories[0].Nodes = cleanNodeList(cfg.Repositories[0].Nodes, myID)
var dir = expandTilde(cfg.Repositories[0].Directory)
if len(profiler) > 0 {