Fix profile save bug for new profiles
This commit is contained in:
parent
6aa764cf81
commit
4d3bf6967c
|
@ -177,6 +177,7 @@ func main() {
|
|||
case "new-profile":
|
||||
if len(commands) == 3 {
|
||||
err := app.NewProfile(commands[1], commands[2])
|
||||
profilefile = commands[2]
|
||||
if err == nil {
|
||||
fmt.Printf("New profile created for %v\n", commands[1])
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue