Skip to content

Commit

Permalink
Clear progress message if self-update is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mplattu committed Jan 22, 2021
1 parent 3a60260 commit b3257e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/naksu/selfupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func doReleaseSelfUpdate() bool {
// If self-update is disabled, do a version check nevertheless and store information for user warning
if config.IsSelfUpdateDisabled() {
latest, found, err := selfupdate.DetectLatest("digabi/naksu")
progress.SetMessage("")
if err != nil {
log.Debug(fmt.Sprintf("Version check failed: %s", err))
return false
Expand Down

0 comments on commit b3257e2

Please sign in to comment.