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

ParseHosts Error When There Is Only One Line in Hosts File Without “\n”at the End #26

Open
HuntercodeT opened this issue Jan 4, 2024 · 0 comments
Assignees

Comments

@HuntercodeT
Copy link

When the hosts file has only one line and lacks a newline character at the end, parsing the hosts file results in an error. Consequently, modifying the hosts file under such circumstances leads to the loss of Hosts file information.

@cjimti cjimti self-assigned this Jan 5, 2024
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

No branches or pull requests

2 participants