Preserve rg exit code

This commit is contained in:
Kovid Goyal 2020-09-23 20:33:03 +05:30
parent 8bea61cb99
commit e0d9e05fd4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -54,6 +54,7 @@ def main() -> None:
write_hyperlink(write, in_result, line)
else:
write(line)
raise SystemExit(p.wait())
if __name__ == '__main__':