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

Multiple "DO NOT EDIT" comments in etc/hosts #65

Closed
tokbes opened this issue Apr 21, 2020 · 2 comments
Closed

Multiple "DO NOT EDIT" comments in etc/hosts #65

tokbes opened this issue Apr 21, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@tokbes
Copy link

tokbes commented Apr 21, 2020

Describe the bug
Every time when run add/replace commands hostctl is adding 1 more header

##################################################################
# Content under this line is handled by hostctl. DO NOT EDIT.
##################################################################

To Reproduce
Steps to reproduce the behavior:
just run hostctl replace -f /path/of/some/project/repo/.etchosts few times

Expected behavior
don't add header if it's already exists

@tokbes tokbes added the bug Something isn't working label Apr 21, 2020
@guumaster
Copy link
Owner

Thanks for reporting this, I'll look into it.

@guumaster
Copy link
Owner

Fixed on version v1.0.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants