From 01f443d75a8116aaca5612ee44cceb1ff1a18f2f Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 3 Oct 2012 19:11:28 +0900 Subject: [PATCH] Correct call to `sys.exit()` It should be `sys.exit()` not `os.exit()`. Change-Id: Iaeeef456ddf2d17f5df2b712e50e3630bed856c3 --- pager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pager.py b/pager.py index 714c3db5..7086aefa 100755 --- a/pager.py +++ b/pager.py @@ -50,7 +50,7 @@ def RunPager(globalConfig): _BecomePager(pager) except Exception: print >>sys.stderr, "fatal: cannot start pager '%s'" % pager - os.exit(255) + sys.exit(255) def _SelectPager(globalConfig): try: