summaryrefslogtreecommitdiffhomepage
path: root/gobgpd
diff options
context:
space:
mode:
authorJeff Bean <bean@uber.com>2018-06-22 19:12:33 -0700
committerJeff Bean <bean@uber.com>2018-06-22 19:12:33 -0700
commit154650594c5b40b2905eb73b90f52de72f6ced16 (patch)
tree2ba6ffe099ff216a92df7fb3806eb9aeaa988208 /gobgpd
parent954562d65a90af4e8d2e9bf29e4c2bccc4420b38 (diff)
Fixing all megacheck errors.
Diffstat (limited to 'gobgpd')
-rw-r--r--gobgpd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgpd/main.go b/gobgpd/main.go
index 2fc89424..13daa9d7 100644
--- a/gobgpd/main.go
+++ b/gobgpd/main.go
@@ -113,7 +113,7 @@ func main() {
log.SetLevel(log.InfoLevel)
}
- if opts.DisableStdlog == true {
+ if opts.DisableStdlog {
log.SetOutput(ioutil.Discard)
} else {
log.SetOutput(os.Stdout)