Multiple "DO NOT EDIT" comments in etc/hosts
tokbes opened this issue · comments
Eugene Tokarev commented
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
Gustavo Marin commented
Thanks for reporting this, I'll look into it.
Gustavo Marin commented
Fixed on version v1.0.11