fix(overlay): disable overlay failed

taskID=5196
This commit is contained in:
justforlxz 2019-05-28 16:55:31 +08:00
parent 4532914960
commit 95aad7e387
No known key found for this signature in database
GPG Key ID: 593AFD577C1B1A60

View File

@ -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 {