From 991ea8b876b7eb48a738015b1ffd97a60cf06ef9 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 3 Sep 2023 13:32:15 +0100 Subject: [PATCH] Fix codefactor suggestion --- src/core/link.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/link.go b/src/core/link.go index e5911b1..3b07e1d 100644 --- a/src/core/link.go +++ b/src/core/link.go @@ -308,9 +308,8 @@ func (l *links) add(u *url.URL, sintf string, linkType linkType) error { if linkType == linkTypePersistent { if backoffNow() { continue - } else { - return } + return } else { break }