don't try to trap SIGKILL but SIGHUP instead

This commit is contained in:
Gunter Labes 2008-08-31 21:37:30 +00:00
parent be64181bb7
commit e56cb08ae3

View file

@ -122,7 +122,7 @@ nice -n $opti_nice optipng -v 2> /dev/null 1> /dev/null || report_absent_tool op
nice -n $opti_nice convert --help 2> /dev/null 1> /dev/null || report_absent_tool convert
# Set-up a trap to avoid leaving orphan tempfiles behind.
trap user_int SIGINT SIGKILL SIGTERM
trap user_int SIGHUP SIGINT SIGTERM
filelist=$(find -iname "*.png")
for f in $filelist; do