reset SIGPIPE before returning
parent
74d75863a1
commit
1c9946ff48
|
@ -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;
|
||||
} # }}}
|
||||
|
|
Loading…
Reference in New Issue