XRT
XRT copied to clipboard
xbutil reset return code is 0 on error
Running
xbutil reset --device xxx
and with the device ID not being found, an error is reported:
ERROR: Specified device BDF 'xxx' not found
Available devices:
[yyy] : ...
I'd expect the program's return code to be non-zero given the error - however, 0 is returned. This is slightly annoying since it forces me to check stderr for any ERROR substrings to catch this.