This commit is contained in:
Ana Hobden 2022-11-10 09:04:41 -08:00
parent 8c77b6eb38
commit 835b8f82a0

View file

@ -44,7 +44,7 @@ impl CommandExecute for HarmonicCli {
}
pub(crate) async fn signal_channel() -> eyre::Result<(Sender<()>, Receiver<()>)> {
let (sender, reciever) = tokio::sync::broadcast::channel(100);
let (sender, receiver) = tokio::sync::broadcast::channel(100);
let sender_cloned = sender.clone();
let _guard = tokio::spawn(async move {
@ -69,7 +69,7 @@ pub(crate) async fn signal_channel() -> eyre::Result<(Sender<()>, Receiver<()>)>
}
});
Ok((sender, reciever))
Ok((sender, receiver))
}
pub fn is_root() -> bool {