* Thu Aug 07 2025 Brian Read <brianr@koozali.org> 11.0.0-112.sme

- Fix sprintf fail in viewlogfiles when % in log line [SME: 13099]
- Fix reboot/shutdown failure - reported by Massimo  - fixed by JC [SME: 13097]
This commit is contained in:
2025-08-07 16:33:12 +01:00
parent a3fda90a85
commit 6475521528
3 changed files with 14 additions and 10 deletions

View File

@@ -211,8 +211,8 @@ sub showlogFile {
$_ = timestamp2local($_);
$_ = HTML::Entities::encode_entities($_);
($log_datas{highlightpattern} && /$log_datas{highlightpattern}/)
? $out .= sprintf("<b>$_</b>")
: $out .= sprintf("$_");
? $out .= "<b>$_</b>"
: $out .= "$_";
} ## end while (<LOGFILE>)
$out .= sprintf("</PRE>");
@@ -297,4 +297,4 @@ sub download_logFile {
);
return undef;
} ## end sub download_logFile
1;
1;

View File

@@ -34,7 +34,7 @@
% end
%= hidden_field 'debug' => '1'
%= hidden_field 'debug' => '0'
</div>
%end