From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] update-ids-ruleset: Release ids_page_lock when the downloader fails. Date: Mon, 20 May 2019 20:06:22 +0200 Message-ID: <20190520180622.3895-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2871866625209410600==" List-Id: --===============2871866625209410600== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fixes #12085. Signed-off-by: Stefan Schantl --- src/scripts/update-ids-ruleset | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripts/update-ids-ruleset b/src/scripts/update-ids-ruleset index f28a8c156..956c3a1f5 100644 --- a/src/scripts/update-ids-ruleset +++ b/src/scripts/update-ids-ruleset @@ -54,6 +54,9 @@ if(&IDS::downloadruleset()) { # Store error message for displaying in the WUI. &IDS::_store_error_message("$Lang::tr{'could not download latest updates'}"= ); =20 + # Unlock the IDS page. + &IDS::unlock_ids_page(); + # Exit. exit 0; } --=20 2.20.1 --===============2871866625209410600==--