mirror of
https://github.com/safing/portmaster
synced 2025-09-02 10:39:22 +00:00
Fix linter warnings
This commit is contained in:
parent
9be175c238
commit
27ed6da45f
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ func updateRegistryConfig(_ context.Context, _ interface{}) error {
|
||||||
|
|
||||||
if forceUpdate {
|
if forceUpdate {
|
||||||
module.Resolve(updateFailed)
|
module.Resolve(updateFailed)
|
||||||
TriggerUpdate()
|
_ = TriggerUpdate()
|
||||||
log.Infof("Automatic updates enabled again.")
|
log.Infof("Automatic updates enabled again.")
|
||||||
} else {
|
} else {
|
||||||
module.Warning(updateFailed, "Updates are disabled!")
|
module.Warning(updateFailed, "Updates are disabled!")
|
||||||
|
|
|
@ -90,7 +90,7 @@ func start() error {
|
||||||
TriggerUpdateEvent,
|
TriggerUpdateEvent,
|
||||||
"Check for and download available updates",
|
"Check for and download available updates",
|
||||||
func(context.Context, interface{}) error {
|
func(context.Context, interface{}) error {
|
||||||
TriggerUpdate()
|
_ = TriggerUpdate()
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
); err != nil {
|
); err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue