aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
index 2cdc0e94..cbb50f25 100644
--- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
@@ -129,7 +129,7 @@ void LOS::setScreenBrightness(int percent){
//qDebug() << "Run intel_backlight";
//Use the intel_backlight utility (only for Intel mobo/hardware?)
// Note: this returns an integer value corresponding to the percent brightess the screen was just set to
- int ret = LUtils::runCmd("sudo -n intel_backlight", QStringList() << QString::number(percent));
+ int ret = LUtils::runCmd("intel_backlight", QStringList() << QString::number(percent));
//qDebug() << " - Return value:" << ret;
success = (percent == ret);
}
bgstack15