Fix not to print pointless file name

This commit is contained in:
Ilia Ross
2024-03-02 19:25:41 +02:00
parent 9c4f32246d
commit bc27c75027
2 changed files with 1 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ journal_journalctl_alert_emerg=Alert and emergency messages
view_title=View Logfile
view_header=Last $1 lines of $2
view_header2=Last $1 lines of $2 file
view_header2=Last $1 lines
view_empty=Log file is empty
view_refresh=Refresh
view_filter=Filter lines with text $1

View File

@@ -271,7 +271,6 @@ if (@logfiles && $found) {
}
else {
$text_view_header = 'view_header2';
$sel = "<tt>".&html_escape($in{'file'})."</tt>";
print &ui_hidden("idx", $in{'idx'}),"\n";
}