]> Nutra Git (v1) - gamesguru/git-remote-gcrypt.git/commitdiff
Fixup cleanup at exit
authorroot <root@localhost>
Mon, 14 Jan 2013 10:00:07 +0000 (16:00 +0600)
committerroot <root@localhost>
Mon, 14 Jan 2013 10:00:07 +0000 (16:00 +0600)
git-remote-gcrypt

index c49742ff1ead53165e71df36a17af358a1390641..3ae2eb2c79fc08f4c64628241d4dffb4a53ceddd 100755 (executable)
@@ -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"