1# $FreeBSD$ 2 3set -T 4trapped='' 5trap "trapped=x$trapped" TERM 6[ "x$(:; kill $$)y" = xy ] && [ "$trapped" = x ] 7