mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
Windows: fix build
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
63366b0007
commit
81a9813376
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ func (s *WindowsService) Execute(args []string, r <-chan svc.ChangeRequest, chan
|
|||
changes <- svc.Status{State: svc.StartPending}
|
||||
|
||||
go func() {
|
||||
if err := s.Service.Start(false); err != nil {
|
||||
if err := s.Service.Start(); err != nil {
|
||||
logger.Error(logSender, "", "Windows service failed to start, error: %v", err)
|
||||
s.Service.Error = err
|
||||
s.Service.Shutdown <- true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue