reset SIGPIPE before returning

master
Joey Hess 2007-11-05 19:33:28 -05:00
parent 74d75863a1
commit 1c9946ff48
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} # }}}