function prepare {
echo "prepare"
+ sleep 5
}
-function cleanup_normal {
- echo "cleanup"
+function cleanup {
+ [ -z "$1" ] && echo "normal cleanup" || echo "abort cleanup"
}
-function cleanup_abrt {
- echo "cleanup_abrt"
-}
-
-backmeupscotty
+backmeupscotty $@