mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 16:15:39 +08: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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = c.watcher.Start()
|
err = watcher.Start()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ func (c *STDServerConfig) startWatcher() error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = c.watcher.Start()
|
err = watcher.Start()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user