mirror of
https://github.com/golang/sys.git
synced 2026-02-09 04:06:04 +03:00
Update mgr.go
This commit is contained in:
@@ -149,7 +149,7 @@ func (m *Mgr) CreateService(name, exepath string, c Config, args ...string) (*Se
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
if c.DelayedAutoStart == ServiceDelayedAutoStartTrue {
|
||||
if c.DelayedAutoStart {
|
||||
err = updateStartUp(h, c.DelayedAutoStart)
|
||||
if err != nil {
|
||||
windows.DeleteService(h)
|
||||
|
||||
Reference in New Issue
Block a user