mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
chore: set 0o666 to unix socket file
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user