mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-12 08:28: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
|
||||
});
|
||||
let res = handle.join();
|
||||
if res.is_err() {
|
||||
if res.unwrap().is_err() {
|
||||
println!("Daemon was not running");
|
||||
run_daemon().await;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue