minor style cleanup

This commit is contained in:
Johannes Altmanninger
2026-05-26 12:17:18 +08:00
parent dc9668c8a4
commit cb2f279550

View File

@@ -242,8 +242,8 @@ pub fn signal_set_handlers_once(interactive: bool) {
static NONINTER_ONCE: std::sync::Once = std::sync::Once::new();
NONINTER_ONCE.call_once(|| signal_set_handlers(false));
static INTER_ONCE: std::sync::Once = std::sync::Once::new();
if interactive {
static INTER_ONCE: std::sync::Once = std::sync::Once::new();
INTER_ONCE.call_once(set_interactive_handlers);
}
}