Correct call to sys.exit()

It should be `sys.exit()` not `os.exit()`.

Change-Id: Iaeeef456ddf2d17f5df2b712e50e3630bed856c3
This commit is contained in:
David Pursehouse 2012-10-03 19:11:28 +09:00 committed by Gustaf Lundh
parent b926116a14
commit 01f443d75a

View File

@ -50,7 +50,7 @@ def RunPager(globalConfig):
_BecomePager(pager) _BecomePager(pager)
except Exception: except Exception:
print >>sys.stderr, "fatal: cannot start pager '%s'" % pager print >>sys.stderr, "fatal: cannot start pager '%s'" % pager
os.exit(255) sys.exit(255)
def _SelectPager(globalConfig): def _SelectPager(globalConfig):
try: try: