[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sort_mirrors_by_speed v 0.2



> ## this doesnt work as I expected, alas 
> #trap  "/bin/rm -r $tmpdir ; exit" SIGTERM
> #trap  "/bin/rm -r $tmpdir ; exit" SIGQUIT
> #trap  "/bin/rm -r $tmpdir ; exit" SIGINT
> #trap -p

try:

trap "/bin/rm -r $tmpdir ; exit 1" 2 3 15

works for me..

nice script by the way.. 

D.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: