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
commitfb6410930c67938ec32aed2b9c5ec3e26a66869a (patch)
treec0a99e9f18f14af111a20e064ab0d511cdea1220 /cobra/index.sh
parenta1916496ce76d9a984bc0fc2e01e9c65df353155 (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