summaryrefslogtreecommitdiffstats
path: root/cobra
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
commit1dc3083211674137b8667b489f39ad8d2f9db5e3 (patch)
tree3339a85e96cca87ee1fc30208d4a8fba536f1417 /cobra
parentac6754f5ff14254e871b8e100a8f990387df9f0b (diff)
cobra needs no disarm
Diffstat (limited to 'cobra')
-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