Skip to content

Commit

Permalink
fix: don't enforce the Version check to succeed
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Stemmer <[email protected]>
  • Loading branch information
H3rmt committed Nov 5, 2024
1 parent af0068f commit d2e1be0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ fn main() -> Result<(), Box<dyn Error>> {
stderrlog::new().module(module_path!()).verbosity(cli.global_opts.verbose as usize + 1).init()
.context("Failed to initialize logging :(").unwrap_or_else(|e| warn!("{:?}", e));

check_version()?;
let _ = check_version().map_err(|e| {
warn!("{:?}", e);
});

DRY.set(cli.global_opts.dry_run).expect("unable to set DRY (already filled???)");
ACTIVE.set(Mutex::new(false)).expect("unable to set ACTIVE (already filled???)");
Expand Down

0 comments on commit d2e1be0

Please sign in to comment.