Use better trap.
authorJim Meyering <jim@meyering.net>
Sat, 15 Jun 2002 09:45:05 +0000 (09:45 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Jun 2002 09:45:05 +0000 (09:45 +0000)
commit59f339c1f8dd093b2aa9a1b592443d5537f3027f
tree9d1fb69130cf15425bb51bcd65fcdfb1e614150c
parent2309be536f9ee6d5d8d6f35280e756276799a381
Use better trap.
  trap 'status=$?; cd $pwd; chmod -R 700 $t0; rm -rf $t0 && exit $status' 0
tests/mv/perm-1