Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Annoyingly, when a process is terminated by an unhandled signal (say, SIGTERM), it is treated as if it exited with a nonzero exit code. This can make it tricky to use non-builtin commands as conditions in "if" statements, since there's always the potential edge case where the "if" block is skipped because of a signal that the condition received.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: