mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 22:19:59 +00:00

fixes #96. This change checks the err returned from the StartServer function, and if it exists, passes a non-zero error code through to the urfave/cli framework. This should allow processes like launchd to detect if cloudflared exited gracefully or with an error.