summaryrefslogtreecommitdiffstats
path: root/pym/portage/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/process.py')
-rw-r--r--pym/portage/process.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/process.py b/pym/portage/process.py
index aed727167..66ec1edd0 100644
--- a/pym/portage/process.py
+++ b/pym/portage/process.py
@@ -246,6 +246,8 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False,
try:
_exec(binary, mycommand, opt_name, fd_pipes,
env, gid, groups, uid, umask, pre_exec)
+ except SystemExit:
+ raise
except Exception as e:
# We need to catch _any_ exception so that it doesn't
# propogate out of this function and cause exiting