BUG10796: Fix textoutput when doing pakfire update in WebUI

This commit is contained in:
Alexander Marx
2015-04-13 07:52:25 +02:00
parent d0552ea9bf
commit 212fd689a3

View File

@@ -191,14 +191,14 @@ if ($return) {
<form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='image' alt='$Lang::tr{'reload'}' title='$Lang::tr{'reload'}' src='/images/view-refresh.png' />
</form>
<tr><td colspan='2' align='left'><pre>
<tr><td colspan='2' align='left'><code>
END
my @output = `grep pakfire /var/log/messages | tail -20`;
foreach (@output) {
print "$_";
print "$_<br>";
}
print <<END;
</pre>
</code>
</table>
END
&Header::closebox();