summaryrefslogtreecommitdiffstats
path: root/pym/portage/locks.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/locks.py')
-rw-r--r--pym/portage/locks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/locks.py b/pym/portage/locks.py
index 4a86e5acb..000e4fac0 100644
--- a/pym/portage/locks.py
+++ b/pym/portage/locks.py
@@ -236,6 +236,8 @@ def unlockfile(mytuple):
writemsg(_("lockfile does not exist '%s'\n") % lockfilename, 1)
os.close(myfd)
return False
+ except SystemExit:
+ raise
except Exception as e:
writemsg(_("Failed to get lock... someone took it.\n"), 1)
writemsg(str(e)+"\n",1)