aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlex <alescdb@users.noreply.github.com>2015-09-04 23:19:34 +0200
committerAlex <alescdb@users.noreply.github.com>2015-09-04 23:19:34 +0200
commit79e6ef48a6738065821d9fbc984221f399acbcb3 (patch)
tree1328a11579b5cce98b7aa3d28528f4dd0fa48427 /scripts
parentdafabce039b18fe8be0d25623b59c53f17d06805 (diff)
downloadconnectbot-79e6ef48a6738065821d9fbc984221f399acbcb3.tar.gz
connectbot-79e6ef48a6738065821d9fbc984221f399acbcb3.tar.bz2
connectbot-79e6ef48a6738065821d9fbc984221f399acbcb3.zip
trap ERR & EXIT
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-lint-count.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-lint-count.sh b/scripts/check-lint-count.sh
index 4d7c8f3..5184e13 100755
--- a/scripts/check-lint-count.sh
+++ b/scripts/check-lint-count.sh
@@ -26,7 +26,7 @@ if [[ ! -f $historical_file ]]; then \
fi
tmp_dir="$(mktemp -d lint.XXXXXXXX)"
-trap "rm -rf $tmp_dir" 1 2 3 6 9 14 15
+trap "rm -rf $tmp_dir" ERR EXIT
lint_results="$tmp_dir/lint.txt"
hist_results="$tmp_dir/hist.txt"