Skip to content

Commit fb64109

Browse files
committed
cobra needs no disarm
1 parent a191649 commit fb64109

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cobra/index.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#! /bin/sh
22
set -euf
33
trap "echo 'You are made of stupid!' >&2; exit 23" EXIT
4-
disarm() {
5-
trap - EXIT
6-
}
74

85
COBRA_PATH="${COBRA_PATH-$PWD}"
96

@@ -13,7 +10,6 @@ for target; do
1310
if test -d "$path/$target"; then
1411
if index="$path/$target/index.sh" && test -f "$index"; then
1512
exec /bin/sh "$index"
16-
disarm
1713
fi
1814
fi
1915
done

0 commit comments

Comments
 (0)