mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-07-01 15:57:46 +02:00
fix: Unwrap result to get proper value
This commit is contained in:
parent
918c863192
commit
616792eaad
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue