> ## 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 [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .