Skip to content

Commit

Permalink
SIGTERM should not indicate a crash
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Apr 11, 2024
1 parent fe95e1f commit c8fd749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ffpuppet/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def close(self, force_close: bool = False) -> None:
LOG.warning("Crash reports still open after 30s")
elif self._proc_tree.is_running():
r_code = Reason.CLOSED
elif self._proc_tree.wait() not in {0, -1, 1, -2, -9, 245}:
elif abs(self._proc_tree.wait()) not in {0, 1, 2, 9, 15, 245}:
# Note: ignore 245 for now to avoid getting flooded with OOMs that don't
# have a crash report... this should be revisited when time allows
# https://bugzil.la/1370520
Expand Down

0 comments on commit c8fd749

Please sign in to comment.