htmltidy: Print a warning message if tidy fails. Closes: #543722

master
Joey Hess 2009-08-26 13:24:51 -04:00
parent 2736fc5ba9
commit 4e70f2f0d2
2 changed files with 5 additions and 1 deletions

View File

@ -46,7 +46,10 @@ sub sanitize (@) {
waitpid $pid, 0;
$SIG{PIPE}="DEFAULT";
return "" if $sigpipe || ! defined $ret;
if ($sigpipe || ! defined $ret) {
print STDERR gettext("warning: tidy failed")."\n";
return "";
}
return $ret;
}

1
debian/changelog vendored
View File

@ -28,6 +28,7 @@ ikiwiki (3.1415926) UNRELEASED; urgency=low
slower. (smcv)
* Rebuild wikis on upgrade to this version to fix bloat caused
by the dependency bug.
* htmltidy: Print a warning message if tidy fails. Closes: #543722
-- Joey Hess <joeyh@debian.org> Wed, 12 Aug 2009 12:25:30 -0400