From b0bfc5610f10789a32e822a0531a4db9ef5fca5c Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Tue, 18 Feb 2025 17:31:06 -0800 Subject: [PATCH] clippy issue --- vortexor/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vortexor/src/main.rs b/vortexor/src/main.rs index 614872ac06a0a8..93bb591cbd1994 100644 --- a/vortexor/src/main.rs +++ b/vortexor/src/main.rs @@ -18,7 +18,6 @@ use { std::{ collections::HashSet, env, - process::exit, sync::{atomic::AtomicBool, Arc, RwLock}, thread::JoinHandle, time::Duration, @@ -58,7 +57,7 @@ pub fn redirect_stderr_to_file(logfile: Option) -> Option signal_hook::iterator::Signals::new([signal_hook::consts::SIGUSR1]) .unwrap_or_else(|err| { eprintln!("Unable to register SIGUSR1 handler: {err:?}"); - exit(1); + std::process::exit(1); }); solana_logger::setup_with_default_filter();