Ensure we don't exit successfully if the main loop exits

We never quit the main loop, but if something odd happens that causes it
to quit outside our control, ensure that we don't return the "auth
success" status code.
This commit is contained in:
Brian Tarricone 2022-05-30 17:48:49 -07:00
parent 32cb674e7a
commit 057eaf7c85

View File

@ -324,8 +324,7 @@ fn main() -> anyhow::Result<()> {
dialog.show_all(); dialog.show_all();
gtk::main(); gtk::main();
DialogExitStatus::OtherError.exit(); // We should never get here!
Ok(())
} }
fn set_time_label(label: &gtk::Label) { fn set_time_label(label: &gtk::Label) {