From 190f6332b5ffb52975f352090aa9beb64c951f0b Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Wed, 25 May 2011 18:19:28 +0000 Subject: [PATCH] daklib/gpg.py: use os._exit() instead of sys.exit() in child process Signed-off-by: Ansgar Burchardt --- daklib/gpg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daklib/gpg.py b/daklib/gpg.py index 90103afa..0e080df5 100644 --- a/daklib/gpg.py +++ b/daklib/gpg.py @@ -23,7 +23,6 @@ import errno import fcntl import os import select -import sys try: _MAXFD = os.sysconf("SC_OPEN_MAX") @@ -185,6 +184,6 @@ class SignedFile(object): os.execvp(self.gpg, args) finally: - sys.exit(1) + os._exit(1) # vim: set sw=4 et: -- 2.39.5