mirror of
https://github.com/luscis/openlan.git
synced 2025-10-29 19:51:46 +08:00
fix: config: remove datetime for point service
This commit is contained in:
@@ -3,6 +3,7 @@ package config
|
||||
import (
|
||||
"flag"
|
||||
"github.com/luscis/openlan/pkg/libol"
|
||||
"log"
|
||||
"runtime"
|
||||
"strings"
|
||||
)
|
||||
@@ -77,6 +78,9 @@ func NewPoint() *Point {
|
||||
}
|
||||
p.Flags()
|
||||
p.Parse()
|
||||
if p.Terminal == "off" {
|
||||
log.SetFlags(0)
|
||||
}
|
||||
p.Initialize()
|
||||
return p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user