guumaster / hostctl

Your dev tool to manage /etc/hosts like a pro!
http://guumaster.github.io/hostctl
MIT License
1.04k stars 45 forks source link

Adding a new profile: Error: unknown profile name #57

Closed BarbUk closed 4 years ago

BarbUk commented 4 years ago

Describe the bug

Using the last version (binary or compiled), I can no longer add a new profile.

To Reproduce

With no profile named test

$ sudo hostctl add domains test test.com
Error: unknown profile name

Expected behavior

Domain test.com is added in a newly created test profile

System (please complete the following information):

guumaster commented 4 years ago

I'll look into it, it fails with add domains and new profiles, if profile exists it works.

guumaster commented 4 years ago

fixed on v1.0.6, not actually a bug, but added anyway.