4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 07:26:05 +00:00

Add support for logging to file or syslog instead of stdout

This commit is contained in:
Neil Alexander
2019-06-28 23:45:04 +01:00
parent 2fd3ac6837
commit 93a323c62c
2 changed files with 20 additions and 2 deletions

View File

@ -232,7 +232,7 @@ func (c *Core) GetSessions() []Session {
// from git, or returns "unknown" otherwise.
func BuildName() string {
if buildName == "" {
return "unknown"
return "yggdrasil"
}
return buildName
}