mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 15:01:16 -03:00
minor style cleanup
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user