mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-12 00:06:35 +00:00
AUTH-2815 flag check was wrong. stupid oversight
This commit is contained in:
parent
7b2f286210
commit
425554077f
@ -217,7 +217,7 @@ func createLogger(c *cli.Context, isTransport bool) (logger.Service, error) {
|
|||||||
loggerOpts := []logger.Option{}
|
loggerOpts := []logger.Option{}
|
||||||
|
|
||||||
logPath := c.String("logfile")
|
logPath := c.String("logfile")
|
||||||
if logPath != "" {
|
if logPath == "" {
|
||||||
logPath = c.String(logDirectoryFlag)
|
logPath = c.String(logDirectoryFlag)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user