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

fix: Script exits fatally when resolv.conf is missing Docker nameserver #1441

Merged
merged 1 commit into from
May 24, 2024

Conversation

serverwentdown
Copy link
Contributor

What

Fixes the use of the grep command causing an early fatal exit of the shell script.

Why

In non-Docker and host network environments, this grep -q will be fatal and because -o errexit is set, the shell script will exit fatally causing the k3s server to fail.

Implications

@iwilltry42 iwilltry42 merged commit 765da50 into k3d-io:main May 24, 2024
1 check passed
@iwilltry42
Copy link
Member

Thank you @serverwentdown !

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