Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that return code of smartctl is 0 or 4
Some device doesn't support SMART capability and getting information from such device returns an error code 4. As it happens in CI we remove the check of the return code when running the command and the check is done within the plugin. It allows to check specific errors. Signed-off-by: Guillaume <[email protected]>
- Loading branch information