From ed7c5b1c77fda2d8fabad6ae0a36090c78a8eab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Thu, 11 Jan 2018 12:00:52 +0100 Subject: [PATCH] Use long command line option for smartctl. --- src/core/smartparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/smartparser.cpp b/src/core/smartparser.cpp index 51b9350..f95ed7b 100644 --- a/src/core/smartparser.cpp +++ b/src/core/smartparser.cpp @@ -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);