Commit b4c6baca authored by Mygod's avatar Mygod

Refine code style to reduce ambiguity

parent 5ea059f3
......@@ -246,13 +246,13 @@ class VpnService : BaseVpnService(), LocalDnsService.Interface {
cmd += "--dnsgw"
cmd += "127.0.0.1:${DataStore.portLocalDns}"
}
data.processes.start(cmd) {
data.processes.start(cmd, onRestartCallback = {
try {
sendFd(fd)
} catch (e: ErrnoException) {
stopRunner(true, e.message)
}
}
})
return fd
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment