mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ce77225e21
This is the thing you want to look at.
14 lines
500 B
Diff
14 lines
500 B
Diff
diff --git a/src/helper.cpp b/src/helper.cpp
|
|
index 102ebc5..4cde9da 100644
|
|
--- a/src/helper.cpp
|
|
+++ b/src/helper.cpp
|
|
@@ -69,7 +69,7 @@ ActionReply SMARTHelper::smartctl(const QVariantMap &args)
|
|
// PATH is super minimal when invoked through dbus
|
|
setenv("PATH", "/usr/sbin:/sbin:/usr/local/sbin", 1);
|
|
|
|
- const QString command = QStringLiteral("smartctl");
|
|
+ const QString command = QStringLiteral("@smartctl@");
|
|
const QString all = QStringLiteral("--all");
|
|
|
|
// JSON output.
|