소스 검색

return after windows restart

Matthew R. Kasun 3 년 전
부모
커밋
cac9d481f8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 {