mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -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();
|
static NONINTER_ONCE: std::sync::Once = std::sync::Once::new();
|
||||||
NONINTER_ONCE.call_once(|| signal_set_handlers(false));
|
NONINTER_ONCE.call_once(|| signal_set_handlers(false));
|
||||||
|
|
||||||
static INTER_ONCE: std::sync::Once = std::sync::Once::new();
|
|
||||||
if interactive {
|
if interactive {
|
||||||
|
static INTER_ONCE: std::sync::Once = std::sync::Once::new();
|
||||||
INTER_ONCE.call_once(set_interactive_handlers);
|
INTER_ONCE.call_once(set_interactive_handlers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user