The path to smart.json is hard-coded but the file itself isn't included in the gem. This is inconvenient because we need to put a smart.json file where check-smart-status.rb file is installed.
As a fix to the issue, I've added --json option to specify the path.
The path to
smart.json
is hard-coded but the file itself isn't included in the gem. This is inconvenient because we need to put asmart.json
file wherecheck-smart-status.rb
file is installed.As a fix to the issue, I've added
--json
option to specify the path.