aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/websetup.pm4
-rw-r--r--debian/changelog1
2 files changed, 4 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/websetup.pm b/IkiWiki/Plugin/websetup.pm
index 95d044c08..92e6875ba 100644
--- a/IkiWiki/Plugin/websetup.pm
+++ b/IkiWiki/Plugin/websetup.pm
@@ -426,8 +426,10 @@ sub showform ($$) {
"-refresh", "-wrappers", "-v");
}
+ close STDERR;
+ open(STDERR, ">&STDOUT");
my $ret=system(@command);
- print "\n<pre>";
+ print "\n<\/pre>";
if ($ret != 0) {
print '<p class="error">'.
sprintf(gettext("<p class=\"error\">Error: %s exited nonzero (%s)"),
diff --git a/debian/changelog b/debian/changelog
index 3a6e490a4..533a2a16f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ikiwiki (3.11) UNRELEASED; urgency=low
* Add python:Depends to control file. Closes: #525086
+ * websetup: Display stderr in browser if ikiwiki setup fails.
-- Joey Hess <joeyh@debian.org> Tue, 21 Apr 2009 21:41:38 -0400