summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gobgpd/main.go')
-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)