Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
fix linux vet
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblum committed Apr 23, 2019
1 parent 5265b21 commit 87b640c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion keybase/platform_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ func (c context) BeforeUpdatePrompt(update updater.Update, options updater.Updat
if err != nil {
c.log.Warningf("Error running notify-send: %s (%s)", err, result.CombinedOutput())
}
c.ReportAction(updater.UpdatePromptResponse{updater.UpdateActionSnooze, false, 0}, &update, options)
c.ReportAction(updater.UpdatePromptResponse{
Action: updater.UpdateActionSnooze,
AutoUpdate: false,
SnoozeDuration: 0,
}, &update, options)
return updater.CancelErr(fmt.Errorf("Linux uses system package manager"))
}

Expand Down

0 comments on commit 87b640c

Please sign in to comment.