mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 15:15:07 +03:00
Accept some linter suggestions
This commit is contained in:
parent
55f8c7c042
commit
57cad7eabc
12 changed files with 42 additions and 60 deletions
|
@ -328,9 +328,9 @@ func main() {
|
|||
// deferred Stop function above will run which will shut down TUN/TAP.
|
||||
for {
|
||||
select {
|
||||
case _ = <-c:
|
||||
case <-c:
|
||||
goto exit
|
||||
case _ = <-r:
|
||||
case <-r:
|
||||
if *useconffile != "" {
|
||||
cfg = readConfig(useconf, useconffile, normaliseconf)
|
||||
logger.Infoln("Reloading configuration from", *useconffile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue