diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 19:33:28 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 19:33:28 -0500 |
commit | 1c9946ff484f46cdbd3fd2c9dababbbb2a95ed63 (patch) | |
tree | 651c146e34ba08a235d0666292031c283a7303be | |
parent | 74d75863a1788fbb0e6d212cdd559a9efba045bf (diff) |
reset SIGPIPE before returning
-rw-r--r-- | IkiWiki/Plugin/htmltidy.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } # }}} |