`exit(1)` instead of `bail`

This commit is contained in:
Robin Avery 2024-02-28 21:05:36 -05:00
parent 4161edd75c
commit 915f53c4d3
No known key found for this signature in database
GPG Key ID: 633B2D5AB640375C
1 changed files with 2 additions and 2 deletions

View File

@ -1534,7 +1534,7 @@ fn diff(args: DiffArgs) -> Result<()> {
linked_sym.address,
);
}
bail!("Code does not match.");
std::process::exit(1);
}
}
@ -1575,7 +1575,7 @@ fn diff(args: DiffArgs) -> Result<()> {
);
log::error!("Original: {}", hex::encode_upper(orig_data));
log::error!("Linked: {}", hex::encode_upper(linked_data));
bail!("Data does not match.")
std::process::exit(1);
}
}