执行一般命令时不运行init()中内容

This commit is contained in:
刘祥超
2023-03-10 15:14:14 +08:00
parent f64b36f17a
commit de9e1a4515
40 changed files with 148 additions and 15 deletions

View File

@@ -236,8 +236,6 @@ func (this *Node) Start() {
// Daemon 实现守护进程
func (this *Node) Daemon() {
teaconst.IsDaemon = true
var isDebug = lists.ContainsString(os.Args, "debug")
for {
conn, err := this.sock.Dial()