mirror of
https://github.com/kardianos/service.git
synced 2025-10-24 17:20:20 +08:00
service/example: remove trailing return
This commit is contained in:
@@ -45,7 +45,6 @@ func (p *program) run() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
func (p *program) Stop(s service.Service) error {
|
func (p *program) Stop(s service.Service) error {
|
||||||
// Any work in Stop should be quick, usually a few seconds at most.
|
// Any work in Stop should be quick, usually a few seconds at most.
|
||||||
|
|||||||
Reference in New Issue
Block a user