return after windows restart

This commit is contained in:
Matthew R. Kasun 2022-07-15 09:25:58 -04:00
parent df0e882a7e
commit cac9d481f8

View file

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