mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 09:22:42 +08:00
fixed netclient join
This commit is contained in:
@@ -58,6 +58,11 @@ func Join(cfg config.ClientConfig, privateKey string) error {
|
|||||||
if cfg.Daemon != "off" {
|
if cfg.Daemon != "off" {
|
||||||
err = daemon.InstallDaemon(cfg)
|
err = daemon.InstallDaemon(cfg)
|
||||||
}
|
}
|
||||||
|
if ncutils.IsWindows() {
|
||||||
|
ncutils.PrintLog("setting up WireGuard app", 0)
|
||||||
|
time.Sleep(time.Second >> 1)
|
||||||
|
functions.Pull(cfg.Network, true)
|
||||||
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user