summaryrefslogtreecommitdiffstats
path: root/cobra/index.sh
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
commit8ea20189b14abf6a2ba8fab572fb6f411270dd0c (patch)
tree7bbf83cdaa15656d81aeedd8bc8fe9bc837e6252 /cobra/index.sh
parentfe0739a39d3f5f34efcde6d4611d399dba6b94b5 (diff)
cobra needs no disarm
Diffstat (limited to 'cobra/index.sh')
-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