From e0a833a813bcef0a463690f5887e0be9c949e6b5 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Fri, 30 Dec 2022 11:21:42 +0000 Subject: [PATCH] added missing break statements in notifier loading loop --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 5d6dcb0..06099fa 100644 --- a/main.go +++ b/main.go @@ -195,16 +195,19 @@ func (web *Web) initNotifiers() { { notifier = ¬ifiers.EmailNotifier{} success = notifier.Open(notifierPath) + break } case "shoutrrr": { notifier = ¬ifiers.ShoutrrrNotifier{} success = notifier.Open(notifierPath) + break } case "apprise": { notifier = ¬ifiers.AppriseNotifier{} success = notifier.Open(notifierPath) + break } default: {