summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@also>2011-06-20 00:52:46 +0200
committertv <tv@also>2011-06-20 00:52:46 +0200
commitb9eaf07278cb62248b07eaaa20a2394c7d247a6f (patch)
tree77106c3f3202c6c7204b8c1c4d166bc1c2f7ff76
parent1a5f2c41d057e05393ddba2974d573472c244451 (diff)
cobra needs no disarm
-rwxr-xr-xcobra/index.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/cobra/index.sh b/cobra/index.sh
index e3c5a1ea..1118a823 100755
--- a/cobra/index.sh
+++ b/cobra/index.sh
@@ -1,9 +1,6 @@
#! /bin/sh
set -euf
trap "echo 'You are made of stupid!' >&2; exit 23" EXIT
-disarm() {
- trap - EXIT
-}
COBRA_PATH="${COBRA_PATH-$PWD}"
@@ -13,7 +10,6 @@ for target; do
if test -d "$path/$target"; then
if index="$path/$target/index.sh" && test -f "$index"; then
exec /bin/sh "$index"
- disarm
fi
fi
done