pdfcrack.sh: trap signals