浏览代码

GRA-408: change daemon check to install

Abhishek Kondur 3 年之前
父节点
当前提交
96267c8b75
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netclient/functions/join.go

+ 1 - 1
netclient/functions/join.go

@@ -205,7 +205,7 @@ func JoinNetwork(cfg *config.ClientConfig, privateKey string) error {
 		logger.Log(0, "network:", cfg.Network, "failed to publish update for join", err.Error())
 	}
 
-	if cfg.Daemon == "on" || ncutils.IsFreeBSD() {
+	if cfg.Daemon == "install" || ncutils.IsFreeBSD() {
 		err = daemon.InstallDaemon()
 		if err != nil {
 			return err