Use long command line option for smartctl.
This commit is contained in:
parent
4069e5112e
commit
ed7c5b1c77
|
@ -112,7 +112,7 @@ void SmartParser::loadSmartOutput()
|
|||
if (m_SmartOutput.isEmpty()) {
|
||||
QStringList args;
|
||||
args.append(QString::fromLocal8Bit("--all"));
|
||||
args.append(QString::fromLocal8Bit("-j"));
|
||||
args.append(QString::fromLocal8Bit("--json"));
|
||||
args.append(devicePath());
|
||||
|
||||
ExternalCommand smartctl(QString::fromLocal8Bit("smartctl"), args);
|
||||
|
|
Loading…
Reference in New Issue