Explorar el Código

return after windows restart

Matthew R. Kasun hace 3 años
padre
commit
cac9d481f8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      netclient/daemon/common.go

+ 1 - 0
netclient/daemon/common.go

@@ -35,6 +35,7 @@ func InstallDaemon() error {
 func Restart() error {
 	if ncutils.IsWindows() {
 		RestartWindowsDaemon()
+		return nil
 	}
 	pid, err := ncutils.ReadPID()
 	if err != nil {