Use long command line option for smartctl.

This commit is contained in:
Andrius Štikonas 2018-01-11 12:00:52 +01:00
parent 4069e5112e
commit ed7c5b1c77
1 changed files with 1 additions and 1 deletions

View File

@ -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);