Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cloudflared returning zero exit code on error #96
If cloudflared starts up before networking and DNS resolution is up and running, it will throw an error and exit. However, this error is returning a zero/success exit code.. as such launchd on Darwin sees that the application intended to exit, and doesn't restart it.
If instead this reported a non-zero exit code, launchd would see that the process failed and it should attempt to restart it.