Skip to content

Commit

Permalink
log info on updating a pinned binary
Browse files Browse the repository at this point in the history
  • Loading branch information
snwzd committed Oct 20, 2024
1 parent 59877e5 commit d32dd31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ func newUpdateCmd() *updateCmd {
return err
}
if cfg.Bins[bin].Pinned {
return fmt.Errorf("Cannot update a pinned binary")
log.Infof("%s is a pinned binary", a)
continue
}
binsToProcess[bin] = cfg.Bins[bin]
}
Expand Down

0 comments on commit d32dd31

Please sign in to comment.