Skip to content

Commit

Permalink
fix: Remove SIGHUP listener
Browse files Browse the repository at this point in the history
  • Loading branch information
hrkfdn authored Oct 8, 2023
1 parent 634e73d commit 1abf8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn setup_logging(filename: &Path) -> Result<(), fern::InitError> {

#[cfg(unix)]
async fn handle_signals(cursive_callback_sink: CbSink) {
let mut signals = Signals::new([SIGTERM, SIGHUP]).expect("could not register signal handler");
let mut signals = Signals::new([SIGTERM]).expect("could not register signal handler");

while let Some(signal) = signals.next().await {
info!("Caught {}, cleaning up and closing", signal);
Expand Down

0 comments on commit 1abf8c1

Please sign in to comment.