mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-05 22:23:31 +03:00
chore: set 0o666 to unix socket file
This commit is contained in:
parent
a67c379884
commit
264713571d
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ func startUnix(cfg *Config) {
|
|||
log.Errorln("External controller unix listen error: %s", err)
|
||||
return
|
||||
}
|
||||
_ = os.Chmod(addr, 0o666)
|
||||
log.Infoln("RESTful API unix listening at: %s", l.Addr().String())
|
||||
|
||||
server := &http.Server{
|
||||
|
|
Loading…
Add table
Reference in a new issue