From df67782978d94c379195c5e985e57700fb684405 Mon Sep 17 00:00:00 2001 From: Alex Shelkovnykov Date: Thu, 5 Oct 2023 12:54:52 -0600 Subject: [PATCH] Update rust/ares/src/serf.rs Accepting typo feedback from Ed Co-authored-by: Edward Amsden --- rust/ares/src/serf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/ares/src/serf.rs b/rust/ares/src/serf.rs index ddff7e7..1a089f9 100644 --- a/rust/ares/src/serf.rs +++ b/rust/ares/src/serf.rs @@ -35,7 +35,7 @@ lazy_static! { * u3_lord_init in vere to point at this binary and start vere like normal. */ pub fn serf() -> io::Result<()> { - // Register SIGTERM signal hook to set flag first time, shutdown second time + // Register SIGINT signal hook to set flag first time, shutdown second time signal_hook::flag::register_conditional_shutdown(SIGINT, 1, Arc::clone(&TERMINATOR))?; signal_hook::flag::register(SIGINT, Arc::clone(&TERMINATOR))?;