Browse Source

GRA-408: change daemon check to install

Abhishek Kondur 3 years ago
parent
commit
494cd690db
1 changed files with 1 additions and 1 deletions
  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())
 		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()
 		err = daemon.InstallDaemon()
 		if err != nil {
 		if err != nil {
 			return err
 			return err