diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/qmk | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -94,4 +94,10 @@ else: | |||
| 94 | exit(1) | 94 | exit(1) |
| 95 | 95 | ||
| 96 | if __name__ == '__main__': | 96 | if __name__ == '__main__': |
| 97 | milc.cli() | 97 | return_code = milc.cli() |
| 98 | if return_code is False: | ||
| 99 | exit(1) | ||
| 100 | elif return_code is not True and isinstance(return_code, int) and return_code < 256: | ||
| 101 | exit(return_code) | ||
| 102 | else: | ||
| 103 | exit(0) | ||
