Skip to content

Commit

Permalink
clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs committed Feb 24, 2025
1 parent d55e21a commit b0bfc56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vortexor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ use {
std::{
collections::HashSet,
env,
process::exit,
sync::{atomic::AtomicBool, Arc, RwLock},
thread::JoinHandle,
time::Duration,
Expand Down Expand Up @@ -58,7 +57,7 @@ pub fn redirect_stderr_to_file(logfile: Option<String>) -> Option<JoinHandle<()>
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();
Expand Down

0 comments on commit b0bfc56

Please sign in to comment.