summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/acpi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon/acpi.cpp')
-rw-r--r--klaptopdaemon/acpi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/klaptopdaemon/acpi.cpp b/klaptopdaemon/acpi.cpp
index cd8f4b0..4dfb247 100644
--- a/klaptopdaemon/acpi.cpp
+++ b/klaptopdaemon/acpi.cpp
@@ -178,7 +178,7 @@ void AcpiConfig::setupHelper()
proc << tdesu;
proc << "-u";
proc << "root";
- proc << "dpkg-statoverride --update --add root root 6755 "+helper;
+ proc << "chown root "+helper+"; chmod +s "+helper;
proc.start(KProcess::Block); // run it sync so has_acpi below sees the results
}
} else {