From c784a6ba4c8f6f1ef48b40aaba9d746a5b20f294 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 29 Jun 2014 11:11:31 +0200 Subject: git: do not trap tmpdir removal --- src/password-store.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/password-store.sh b/src/password-store.sh index dfd59fe..701a750 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -572,7 +572,6 @@ cmd_git() { git config --local diff.gpg.textconv "$GPG -d ${GPG_OPTS[*]}" elif [[ -d $GIT_DIR ]]; then tmpdir nowarn #Defines $SECURE_TMPDIR. We don't warn, because at most, this only copies encrypted files. - trap "rm -rf '$SECURE_TMPDIR'" INT TERM EXIT export TMPDIR="$SECURE_TMPDIR" git "$@" else -- cgit v1.2.3