Skip to main content

Return codes

XClarity Essentials OneCLI issues a return code to indicate either successful execution of a command or to indicate that an error occurred while the program was running. A return code of zero indicates that the operation was successful, and a nonzero return code indicates an error.

To determine whether any errors occurred and when based on the associated timestamp, refer to one of the following log files:
  • For Windows, review the C:\Lenovo_Support\onecli.log file.
  • For Linux, review the /var/log/Lenovo_Support/onecli.log file.
For details, see the following return codes: