From: Jakub Wilk <jwilk@jwilk.net>
Date: Fri, 12 Jan 2024 16:27:49 +0000 (+0100)
Subject: CLI/git: fix name error
X-Git-Tag: archive/debian/0.39_rc0-1~51
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=e310df70938baf61b849f309f295d0b6c54bd0d3;p=notmuch

CLI/git: fix name error
---

diff --git a/notmuch-git.py b/notmuch-git.py
index a11501ae..29f75531 100644
--- a/notmuch-git.py
+++ b/notmuch-git.py
@@ -247,7 +247,7 @@ def count_messages(prefix=None):
         stdout=_subprocess.PIPE, wait=True)
     if status != 0:
         _LOG.error("failed to run notmuch config")
-        sys.exit(1)
+        _sys.exit(1)
     return int(stdout.rstrip())
 
 def get_tags(prefix=None):