Closed Scott8440 closed 1 year ago
This pull request was exported from Phabricator. Differential Revision: D47138227
This pull request was exported from Phabricator. Differential Revision: D47138227
This pull request has been merged in facebook/openbmc@0554af8b462379b234c8219d1e9e4b2a5cceb1bb.
Summary: I was getting shellcheck errors when editing this file in another diff. Negative exit codes and return values are not supported in bash: https://unix.stackexchange.com/questions/418784/what-is-the-min-and-max-values-of-exit-codes-in-linux
Test Plan: This is the only usage of it in code and it doesn't rely on a negative exit code (which couldn't happen anyways): https://www.internalfb.com/code/search?q=WEDGE_POWER_RESET_CMD
Differential Revision: D47138227
Reviewed By: smithscott