Skip to content

Commit

Permalink
Fix publication of identity
Browse files Browse the repository at this point in the history
  • Loading branch information
bahner committed Mar 3, 2024
1 parent 69a8ba9 commit 38b4f5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ func handleGenerateOrExit() (string, string) {
os.Exit(70) // EX_SOFTWARE
}

if viper.GetBool("publish") {
publishFlag, err := pflag.CommandLine.GetBool("publish")
if err != nil {
log.Warnf("config.handleGenerateOrExit: %v", err)
}
if publishFlag {
err = publishActorIdentityFromString(keyset_string)
if err != nil {
log.Errorf("config.handleGenerateOrExit: %v", err)
Expand Down

0 comments on commit 38b4f5e

Please sign in to comment.