jsvn: ignore IOError writing to broken pipe when pager is exited

This commit is contained in:
josh committed 2012-02-20 14:19:05 -05:00
1 parent ea8f2ca8c6
commit 69f8e9944a
1 file changed
+6 -1
+6 -1
View File
@@ -449,4 +449,9 @@ def main(argv):
return 0
if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))
rc = 0
try:
rc = main(sys.argv[1:])
except IOError:
pass
sys.exit(rc)