We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc8392a + fc277de commit 36bc654Copy full SHA for 36bc654
CHANGES.rst
@@ -10,6 +10,7 @@ Bug fixes in 0.5.0
10
11
- Fixed a bug where using ``labgrid-client io get`` always returned ``low``
12
when reading a ``sysfsgpio``.
13
+- Fix labgrid-client exit code on keyboard interrupt.
14
15
Breaking changes in 0.5.0
16
~~~~~~~~~~~~~~~~~~~~~~~~~
labgrid/remote/client.py
@@ -1904,7 +1904,7 @@ def main():
1904
print(f"{parser.prog}: error: {e}", file=sys.stderr)
1905
exitcode = 1
1906
except KeyboardInterrupt:
1907
- exitcode = 0
+ exitcode = 1
1908
except Exception: # pylint: disable=broad-except
1909
traceback.print_exc()
1910
exitcode = 2
0 commit comments