You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the program seems to return always 0, which generally indicates success. In the context of running ykush in shell scripts or automation tools it would be a significant improvement if the application would return non-zero status code(s) if the command could not be executed as expected.
The text was updated successfully, but these errors were encountered:
Hi, thanks for the input.
The current commit has incorporated this suggestion. It is returning negative values on error and zero on success.
The error code map will be documented and soon made available in the ykushcmd reference manual at https://www.learn.yepkit.com/reference/ykushcmd-reference-ykush/1/2
Currently the program seems to return always 0, which generally indicates success. In the context of running ykush in shell scripts or automation tools it would be a significant improvement if the application would return non-zero status code(s) if the command could not be executed as expected.
The text was updated successfully, but these errors were encountered: