mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 10:01:30 +00:00
Fix start watcher
This commit is contained in:
parent
af58e3bec0
commit
6be07ed51f
|
@ -97,7 +97,7 @@ func (c *echServerConfig) startWatcher() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = c.watcher.Start()
|
||||
err = watcher.Start()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ func (c *STDServerConfig) startWatcher() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = c.watcher.Start()
|
||||
err = watcher.Start()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue