From 26f886b445c06478b7644fd09aa146b2890dc5d6 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Thu, 24 Sep 2020 13:59:14 +1000 Subject: [PATCH] clean up error message --- cmd/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/exec.go b/cmd/exec.go index d5fa9a9..08b3c99 100644 --- a/cmd/exec.go +++ b/cmd/exec.go @@ -63,7 +63,7 @@ var execCmd = &cobra.Command{ cfg, err := ini.Load(home + defaultFullConfigPath) profileSection, err := cfg.GetSection("profile " + profileName) if err != nil { - log.Fatal("unable to create profile section: ", err) + log.Fatal("unable to find profile: ", err) } if profileSection.Key("email").String() == "" {