commit c784a6ba4c8f6f1ef48b40aaba9d746a5b20f294
parent 2a00421716ee01efb6ab17f9c3e934b968d42b92
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date: Sun, 29 Jun 2014 11:11:31 +0200
git: do not trap tmpdir removal
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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