Browse Source

return after windows restart

Matthew R. Kasun 3 years ago
parent
commit
b7a08a2668
1 changed files with 1 additions and 0 deletions
  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 {