guumaster / hostctl

Your dev tool to manage /etc/hosts like a pro!

Home Page:http://guumaster.github.io/hostctl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding a new profile: Error: unknown profile name

BarbUk opened this issue · comments

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):

  • OS: Linux
  • Version:
$ hostctl --version
hostctl version 1.0.5

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

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