diff --git a/pkg/cmd/collect.go b/pkg/cmd/collect.go index 6f99d009..9949f238 100644 --- a/pkg/cmd/collect.go +++ b/pkg/cmd/collect.go @@ -65,7 +65,7 @@ var collectCmd = &cobra.Command{ if strings.Contains(tempDir, "~") { usr, err := user.Current() if err != nil { - log.Fatal("Failed to result homedir for current user in --tempdir") + log.Fatal("Failed to fetch current user so could not resolve tempdir") } if tempDir == "~" { tempDir = usr.HomeDir