Skip to content

Commit

Permalink
Fix bug causing selfsign to ignore the default profile
Browse files Browse the repository at this point in the history
  • Loading branch information
cbroglie committed Oct 28, 2019
1 parent 1a911ca commit ac360f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/selfsign/selfsign.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ func selfSignMain(args []string, c cli.Config) (err error) {
if c.Profile != "" && c.CFG.Signing.Profiles != nil {
profile = c.CFG.Signing.Profiles[c.Profile]
}
if profile == nil {
profile = c.CFG.Signing.Default
}
}

if profile == nil {
Expand Down

0 comments on commit ac360f2

Please sign in to comment.