fix: Unwrap result to get proper value

This commit is contained in:
Fabio Lenherr / DashieTM 2023-11-10 22:14:45 +01:00
parent 918c863192
commit 616792eaad

View file

@ -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 {