Skip to content

Commit

Permalink
fix: handle assert error
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Oct 6, 2023
1 parent a0cd6d2 commit c67db68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/catbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ pub fn run(option: &CatBoxOption) -> Result<CatBoxResult, CatBoxError> {
| Signal::SIGILL
| Signal::SIGSEGV
| Signal::SIGSYS
| Signal::SIGXFSZ => {
| Signal::SIGXFSZ
| Signal::SIGABRT => {
info!("Child process #{}. is stopped by {}", pid, signal);
last_signal = Some(signal);
ptrace::cont(pid, signal)?;
Expand Down

0 comments on commit c67db68

Please sign in to comment.