mirror of
https://github.com/urbit/ares.git
synced 2024-12-24 13:55:23 +03:00
Update rust/ares/src/serf.rs
Accepting typo feedback from Ed Co-authored-by: Edward Amsden <edward@blackriversoft.com>
This commit is contained in:
parent
d9bd4d7716
commit
df67782978
@ -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))?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user