[gnome-system-monitor/gnome-3-14] Disable internal polkit agent (bgo #737098)
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor/gnome-3-14] Disable internal polkit agent (bgo #737098)
- Date: Mon, 13 Oct 2014 18:19:28 +0000 (UTC)
commit 36c35028d3de3221c47e38371f59c44b3f5f4c02
Author: Robert Roth <robert roth off gmail com>
Date: Wed Sep 24 22:47:26 2014 +0300
Disable internal polkit agent (bgo #737098)
src/gsm_pkexec.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gsm_pkexec.cpp b/src/gsm_pkexec.cpp
index 22e3c94..868969b 100644
--- a/src/gsm_pkexec.cpp
+++ b/src/gsm_pkexec.cpp
@@ -10,7 +10,7 @@ gboolean gsm_pkexec_create_root_password_dialog(const char *command)
gboolean ret = FALSE;
gint *exit_status = NULL;
GError *error = NULL;
- gchar *command_line = g_strdup_printf("pkexec %s/gsm-%s",
+ gchar *command_line = g_strdup_printf("pkexec --disable-internal-agent %s/gsm-%s",
GSM_LIBEXEC_DIR, command);
if (!g_spawn_command_line_sync(command_line, NULL, NULL, exit_status, &error)) {
g_critical("Could not run pkexec(\"%s\") : %s\n",
@@ -19,7 +19,7 @@ gboolean gsm_pkexec_create_root_password_dialog(const char *command)
}
else
{
- g_message("pkexec did fine\n");
+ g_debug("pkexec did fine\n");
ret = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]