Skip to content

Commit c67db68

Browse files
authored
fix: handle assert error
1 parent a0cd6d2 commit c67db68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/catbox.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ pub fn run(option: &CatBoxOption) -> Result<CatBoxResult, CatBoxError> {
311311
| Signal::SIGILL
312312
| Signal::SIGSEGV
313313
| Signal::SIGSYS
314-
| Signal::SIGXFSZ => {
314+
| Signal::SIGXFSZ
315+
| Signal::SIGABRT => {
315316
info!("Child process #{}. is stopped by {}", pid, signal);
316317
last_signal = Some(signal);
317318
ptrace::cont(pid, signal)?;

0 commit comments

Comments
 (0)