2022-08-12 12:06:08 +00:00
|
|
|
diff --git a/src/gsm_pkexec.cpp b/src/gsm_pkexec.cpp
|
2023-04-12 12:48:02 +00:00
|
|
|
index 5e1edf2f..717d7bf1 100644
|
2022-08-12 12:06:08 +00:00
|
|
|
--- a/src/gsm_pkexec.cpp
|
|
|
|
+++ b/src/gsm_pkexec.cpp
|
2023-04-12 12:48:02 +00:00
|
|
|
@@ -36,5 +36,6 @@ gsm_pkexec_create_root_password_dialog (const char *command)
|
2022-08-12 12:06:08 +00:00
|
|
|
gboolean
|
2023-04-12 12:48:02 +00:00
|
|
|
procman_has_pkexec (void)
|
2022-08-12 12:06:08 +00:00
|
|
|
{
|
2023-04-12 12:48:02 +00:00
|
|
|
- return g_file_test ("/usr/bin/pkexec", G_FILE_TEST_EXISTS);
|
|
|
|
+ return g_file_test ("/run/wrappers/bin/pkexec", G_FILE_TEST_EXISTS)
|
|
|
|
+ || g_file_test ("/usr/bin/pkexec", G_FILE_TEST_EXISTS);
|
2022-08-12 12:06:08 +00:00
|
|
|
}
|