From: Stefan Schantl Date: Wed, 30 Jan 2019 09:57:31 +0000 (+0100) Subject: update-ids-ruleset: Improve error reporting if the system is offline X-Git-Tag: v2.23-core131~117^2~84 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=d6f725e1857b19fefce67fc3bb63f7a379f549d4;ds=sidebyside update-ids-ruleset: Improve error reporting if the system is offline Signed-off-by: Stefan Schantl --- diff --git a/src/scripts/update-ids-ruleset b/src/scripts/update-ids-ruleset index 05d2ea61b3..d988d25566 100644 --- a/src/scripts/update-ids-ruleset +++ b/src/scripts/update-ids-ruleset @@ -31,7 +31,7 @@ unless (-e "${General::swroot}/red/active") { &IDS::_log_to_syslog("The system is offline."); # Store error message for displaying in the WUI. - &IDS::_store_error_message("$Lang::tr{'could not download latest updates'}"); + &IDS::_store_error_message("$Lang::tr{'could not download latest updates'} - $Lang::tr{'system is offline'}"); # Exit. exit 0;