From e15ab46a9828e0a75fbdf543827119a25ffa7b58 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 23 Jul 2025 23:57:12 -0700 Subject: [PATCH] Improve wording when no reboot is needed https://github.com/webmin/webmin/issues/2518 --- status/lang/en | 1 + status/reboot-monitor.pl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/status/lang/en b/status/lang/en index e002af998..88e7a4b02 100644 --- a/status/lang/en +++ b/status/lang/en @@ -605,6 +605,7 @@ imap_eport=Missing or non-numeric IMAP server port imap_euser=Missing IMAP login reboot_pkgs=Package updates require a reboot +reboot_no=No reboot required phpini_file=PHP-FPM version phpini_nofile=PHP-FPM configuration file not found! diff --git a/status/reboot-monitor.pl b/status/reboot-monitor.pl index 073f6a17e..b94ca290d 100644 --- a/status/reboot-monitor.pl +++ b/status/reboot-monitor.pl @@ -9,7 +9,8 @@ if (&package_updates::check_reboot_required()) { 'desc' => $text{'reboot_pkgs'} }; } else { - return { 'up' => 1 }; + return { 'up' => 1, + 'desc' => $text{'reboot_no'} }; } }