Tag Archives: linux

ksh deliberately segfaults if the last command in a script crashes

I recently found that ksh will deliberately crash if the last command in a script crashes. Other shells just set the appropriate exit code, but ksh sends itself the same signal that its child received. This can confuse the unwary (i.e. me) when trying to track down what crashed with abrt logs.
Continue reading

Leave a Comment

Filed under Uncategorized