]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
BUG10796: Fix textoutput when doing pakfire update in WebUI
authorAlexander Marx <alexander.marx@ipfire.org>
Mon, 13 Apr 2015 05:52:25 +0000 (07:52 +0200)
committerAlexander Marx <alexander.marx@ipfire.org>
Mon, 13 Apr 2015 05:52:25 +0000 (07:52 +0200)
html/cgi-bin/pakfire.cgi

index 2a7ca8407f08a29546cb5bf9148a2cc824ac4dc6..143f123b7f71853905175421fe21c55cb73ea96f 100644 (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();