Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick fix to segfault on CLI when Headscale is not running #658

Merged
merged 5 commits into from
Jun 26, 2022

Conversation

juanfont
Copy link
Owner

When we pass --output json or similar we suppress all the logs -which also deactivates the call to os.Exit when doing Fatal().

This is a quick fix for #652.

@juanfont juanfont requested a review from kradalby as a code owner June 22, 2022 13:01
kradalby
kradalby previously approved these changes Jun 26, 2022
@kradalby kradalby merged commit 7604c0f into main Jun 26, 2022
@kradalby kradalby deleted the fix-segfault-when-not-runner branch June 26, 2022 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants