From: Stefan Schantl Date: Mon, 20 May 2019 18:06:22 +0000 (+0200) Subject: update-ids-ruleset: Release ids_page_lock when the downloader fails. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84227f7a1c1b5093c01a0cabd6160d82197ee04b;p=people%2Fms%2Fipfire-2.x.git update-ids-ruleset: Release ids_page_lock when the downloader fails. Fixes #12085. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/src/scripts/update-ids-ruleset b/src/scripts/update-ids-ruleset index f28a8c1566..956c3a1f5d 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'}"); + # Unlock the IDS page. + &IDS::unlock_ids_page(); + # Exit. exit 0; }