mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 12:05: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() {
|
fn main() {
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
|
|
||||||
|
unsafe {
|
||||||
|
libc::signal(libc::SIGPIPE, libc::SIG_DFL);
|
||||||
|
}
|
||||||
|
|
||||||
logger::configure(env::var_os(vars::EXA_DEBUG));
|
logger::configure(env::var_os(vars::EXA_DEBUG));
|
||||||
|
|
||||||
let args: Vec<_> = env::args_os().skip(1).collect();
|
let args: Vec<_> = env::args_os().skip(1).collect();
|
||||||
|
Loading…
Reference in New Issue
Block a user