don't try to trap SIGKILL but SIGHUP instead
This commit is contained in:
parent
be64181bb7
commit
e56cb08ae3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue