2008-12-21 03:15:53 +00:00

8 lines
102 B
Bash
Executable File

#!/bin/sh
x=`( trap 'echo exiting' EXIT; /usr/bin/true )`
if [ -z "$x" ]
then
echo failed
exit 1
fi