[gnome-system-monitor] Disable internal polkit agent (bgo #737098)
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Disable internal polkit agent (bgo #737098)
- Date: Wed, 24 Sep 2014 19:47:48 +0000 (UTC)
commit a3bf3a7f56cf02c6a127aa168c570230e9fad356
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]