don’t display broken pipe error messages (see rust-lang/rust#46016)

This commit is contained in:
Mélanie Chauvel 2021-12-05 18:22:38 +01:00
parent b32f441851
commit df4fb84ae1

View File

@ -50,6 +50,10 @@ mod theme;
fn main() {
use std::process::exit;
unsafe {
libc::signal(libc::SIGPIPE, libc::SIG_DFL);
}
logger::configure(env::var_os(vars::EXA_DEBUG));
let args: Vec<_> = env::args_os().skip(1).collect();