FIX: bad trap under ubuntu (dash)
Merge pull request #148 from reneme/fix_trap

FIX: bad trap under ubuntu (dash)