fix: exit after logind subscription error
This commit is contained in:
parent
20b7a41247
commit
2294d10a51
1 changed files with 1 additions and 4 deletions
|
|
@ -59,10 +59,7 @@ pub fn subscription() -> Subscription<Message> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: should we retry on error?
|
std::process::exit(1);
|
||||||
loop {
|
|
||||||
time::sleep(time::Duration::new(60, 0)).await;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue