mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-04 23:17:46 +00:00
change ~ use updated SIGPIPE in procs
This commit is contained in:
parent
0432063479
commit
c32ff9e8bb
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ pub fn main(stream: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
|||
let result = quote::quote! {
|
||||
fn main() {
|
||||
use std::io::Write;
|
||||
uucore::panic::install_sigpipe_hook();
|
||||
uucore::panic::mute_sigpipe_panic();
|
||||
let code = #f;
|
||||
std::io::stdout().flush().expect("could not flush stdout");
|
||||
std::process::exit(code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue