mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 03:55:11 +00:00
don’t display broken pipe error messages (see rust-lang/rust#46016)
This commit is contained in:
parent
b32f441851
commit
df4fb84ae1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user