Skip to content

Commit

Permalink
Remove ctn_OCTOXBPS_SUDO_PARAMS from startPkexec
Browse files Browse the repository at this point in the history
The call to `WMHelper::getSUCommand()` was reverted back to the string
literal "pkexec", but `ctn_OCTOXBPS_SUDO_PARAMS` was still being
concatenated into `sl` causing an error.

This commit reverts `startPkexec()` back to how it was as of v0.3.0
  • Loading branch information
dexgs committed Nov 10, 2023
1 parent c358880 commit 6dd5d95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion notifier/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ void MainWindow::startPkexec()
QProcess *xbps = new QProcess();
connect(xbps, SIGNAL(finished(int)), this, SLOT(finishedPkexec(int)));
QStringList sl;
sl << ctn_OCTOXBPS_SUDO_PARAMS;
sl << QStringLiteral("/usr/bin/xbps-install");
sl << QStringLiteral("-Sy");
xbps->start("pkexec", sl);
Expand Down

0 comments on commit 6dd5d95

Please sign in to comment.