forked from lix-project/lix-installer
Speeling
This commit is contained in:
parent
8c77b6eb38
commit
835b8f82a0
|
@ -44,7 +44,7 @@ impl CommandExecute for HarmonicCli {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn signal_channel() -> eyre::Result<(Sender<()>, Receiver<()>)> {
|
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 sender_cloned = sender.clone();
|
||||||
let _guard = tokio::spawn(async move {
|
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 {
|
pub fn is_root() -> bool {
|
||||||
|
|
Loading…
Reference in a new issue