pkexec is not a reliably graphical sudo, don't use it

This commit is contained in:
baldurk
2019-10-16 13:39:24 +01:00
parent 52e0ecf543
commit b48b3fb87e
+1 -1
View File
@@ -1792,7 +1792,7 @@ bool RunProcessAsAdmin(const QString &fullExecutablePath, const QStringList &par
#else
// try to find a way to run the application elevated.
const QString graphicalSudo[] = {
lit("pkexec"), lit("kdesudo"), lit("gksudo"), lit("beesu"),
lit("kdesudo"), lit("gksudo"), lit("beesu"),
};
// if none of the graphical options, then look for sudo and either