From 425554077f06b319fe5ad8281bff048277197a7a Mon Sep 17 00:00:00 2001 From: Dalton Date: Tue, 16 Jun 2020 16:18:24 -0500 Subject: [PATCH] AUTH-2815 flag check was wrong. stupid oversight --- cmd/cloudflared/tunnel/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloudflared/tunnel/cmd.go b/cmd/cloudflared/tunnel/cmd.go index beb328de..9402cd73 100644 --- a/cmd/cloudflared/tunnel/cmd.go +++ b/cmd/cloudflared/tunnel/cmd.go @@ -217,7 +217,7 @@ func createLogger(c *cli.Context, isTransport bool) (logger.Service, error) { loggerOpts := []logger.Option{} logPath := c.String("logfile") - if logPath != "" { + if logPath == "" { logPath = c.String(logDirectoryFlag) }