mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-19 11:08:32 +02:00
fix: Unwrap result to get proper value
This commit is contained in:
parent
918c863192
commit
616792eaad
|
@ -66,7 +66,7 @@ async fn daemon_check() {
|
||||||
res
|
res
|
||||||
});
|
});
|
||||||
let res = handle.join();
|
let res = handle.join();
|
||||||
if res.is_err() {
|
if res.unwrap().is_err() {
|
||||||
println!("Daemon was not running");
|
println!("Daemon was not running");
|
||||||
run_daemon().await;
|
run_daemon().await;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue