From 1c9946ff484f46cdbd3fd2c9dababbbb2a95ed63 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Nov 2007 19:33:28 -0500 Subject: reset SIGPIPE before returning --- IkiWiki/Plugin/htmltidy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } # }}} -- cgit v1.2.3