mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix(overlay): disable overlay failed
taskID=5196
This commit is contained in:
parent
4532914960
commit
95aad7e387
@ -197,7 +197,7 @@ void OverlayWarningPlugin::showCloseOverlayDialogPre()
|
||||
void OverlayWarningPlugin::showCloseOverlayDialog()
|
||||
{
|
||||
qDebug() << "start disable overlayroot process";
|
||||
const int result = QProcess::execute("/usr/bin/pkexec overlayroot-disable");
|
||||
const int result = QProcess::execute("/usr/bin/pkexec /usr/sbin/overlayroot-disable");
|
||||
if (result == 0) {
|
||||
QProcess::startDetached("reboot");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user