aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@localhost>2013-01-14 16:00:07 +0600
committerroot <root@localhost>2013-01-14 16:00:07 +0600
commit786dc939d4d988d04cb411cf09a77c9db33a4581 (patch)
tree4cc585044c18355c26a14ba3b9973b0fe29ee7a0
parent2fa9a4a7eff038b649a0af81173419c6cbe9e7a4 (diff)
downloadgit-remote-gcrypt-786dc939d4d988d04cb411cf09a77c9db33a4581.zip
git-remote-gcrypt-786dc939d4d988d04cb411cf09a77c9db33a4581.tar.gz
git-remote-gcrypt-786dc939d4d988d04cb411cf09a77c9db33a4581.tar.bz2
Fixup cleanup at exit
-rwxr-xr-xgit-remote-gcrypt3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index c49742f..3ae2eb2 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -848,7 +848,8 @@ gcrypt_main_loop()
URL=$2 # Remote URL
mkdir -p "$Localdir"
- trap cleanup_atexit EXIT 1 2 3 15
+ trap cleanup_atexit EXIT
+ trap 'exit 1' 1 2 3 15
echo_info "Development version -- Repository format MAY CHANGE"