websetup: Display stderr in browser if ikiwiki setup fails.
parent
e88ef0362c
commit
4fbe1c3d44
|
@ -426,8 +426,10 @@ sub showform ($$) {
|
||||||
"-refresh", "-wrappers", "-v");
|
"-refresh", "-wrappers", "-v");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close STDERR;
|
||||||
|
open(STDERR, ">&STDOUT");
|
||||||
my $ret=system(@command);
|
my $ret=system(@command);
|
||||||
print "\n<pre>";
|
print "\n<\/pre>";
|
||||||
if ($ret != 0) {
|
if ($ret != 0) {
|
||||||
print '<p class="error">'.
|
print '<p class="error">'.
|
||||||
sprintf(gettext("<p class=\"error\">Error: %s exited nonzero (%s)"),
|
sprintf(gettext("<p class=\"error\">Error: %s exited nonzero (%s)"),
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
ikiwiki (3.11) UNRELEASED; urgency=low
|
ikiwiki (3.11) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* Add python:Depends to control file. Closes: #525086
|
* 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
|
-- Joey Hess <joeyh@debian.org> Tue, 21 Apr 2009 21:41:38 -0400
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue