Improve wording when no reboot is needed

https://github.com/webmin/webmin/issues/2518
This commit is contained in:
Jamie Cameron
2025-07-23 23:57:12 -07:00
parent 63abfbfe87
commit e15ab46a98
2 changed files with 3 additions and 1 deletions

View File

@@ -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!

View File

@@ -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'} };
}
}