mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-02 09:54:26 +08:00
return after windows restart
This commit is contained in:
parent
30629ae6bc
commit
b7a08a2668
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ func InstallDaemon() error {
|
||||||
func Restart() error {
|
func Restart() error {
|
||||||
if ncutils.IsWindows() {
|
if ncutils.IsWindows() {
|
||||||
RestartWindowsDaemon()
|
RestartWindowsDaemon()
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
pid, err := ncutils.ReadPID()
|
pid, err := ncutils.ReadPID()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue