propagate errors

This commit is contained in:
Dr. Matthias Ratajczak
2022-12-02 18:06:47 +01:00
parent 7fb416815c
commit 7652e9a6be
2 changed files with 10 additions and 9 deletions
+1 -2
View File
@@ -6,6 +6,5 @@ fn main() -> Result<()> {
let args = args::get_args();
let groups = Group::load_from_dir();
let pacdef = Pacdef::new(args, groups);
pacdef.run_action_from_arg().context("running action")?;
Ok(())
pacdef.run_action_from_arg().context("running action")
}