Explorar el Código

GRA-408: change daemon check to install

Abhishek Kondur hace 3 años
padre
commit
96267c8b75
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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