diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-06-29 11:11:31 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-06-29 11:11:31 +0200 |
commit | c784a6ba4c8f6f1ef48b40aaba9d746a5b20f294 (patch) | |
tree | 2b1201fb317b1629240fcc174638063c02645c2e /src | |
parent | 2a00421716ee01efb6ab17f9c3e934b968d42b92 (diff) | |
download | pass-c784a6ba4c8f6f1ef48b40aaba9d746a5b20f294.tar.gz pass-c784a6ba4c8f6f1ef48b40aaba9d746a5b20f294.tar.bz2 pass-c784a6ba4c8f6f1ef48b40aaba9d746a5b20f294.zip |
git: do not trap tmpdir removal
Diffstat (limited to 'src')
-rwxr-xr-x | src/password-store.sh | 1 |
1 files changed, 0 insertions, 1 deletions
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 |