#!/bin/bash trap 'rc=$? ; echo terminating with status $rc ; exit $rc' 0 echo starting # Released under GNU General Public License 3 by celeste:crystalfaery 2011-02-07 00:33:18+00:00 # http://www.crystalfaeries.net/linux/bin/traps.sh