From: Joey Hess Date: Tue, 6 Nov 2007 00:33:28 +0000 (-0500) Subject: reset SIGPIPE before returning X-Git-Tag: 2.12~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c9946ff484f46cdbd3fd2c9dababbbb2a95ed63;p=ikiwiki.git reset SIGPIPE before returning --- diff --git a/IkiWiki/Plugin/htmltidy.pm b/IkiWiki/Plugin/htmltidy.pm index cd5dc83ac..19271b136 100644 --- a/IkiWiki/Plugin/htmltidy.pm +++ b/IkiWiki/Plugin/htmltidy.pm @@ -36,8 +36,8 @@ sub sanitize (@) { #{{{ close IN; waitpid $pid, 0; - return $params{content} if $sigpipe; $SIG{PIPE}="DEFAULT"; + return $params{content} if $sigpipe; return $ret; } # }}}