9ed3759d5b
- polkitagentlistener: resource leak - pointer to 'server' - Error message raised on every 'systemctl start' in emergency.target
14 lines
751 B
Diff
14 lines
751 B
Diff
diff -up ./src/programs/pkttyagent.c.ori ./src/programs/pkttyagent.c
|
|
--- ./src/programs/pkttyagent.c.ori 2018-08-01 15:51:28.495910434 +0200
|
|
+++ ./src/programs/pkttyagent.c 2018-08-02 15:51:45.126311197 +0200
|
|
@@ -150,7 +150,8 @@ main (int argc, char *argv[])
|
|
authority = polkit_authority_get_sync (NULL /* GCancellable* */, &error);
|
|
if (authority == NULL)
|
|
{
|
|
- g_printerr ("Error getting authority: %s (%s, %d)\n",
|
|
+ g_printerr ("Authorization not available. Check if polkit service is running or see debug message for more information.\n");
|
|
+ g_debug ("Error getting authority: %s (%s, %d)\n",
|
|
error->message, g_quark_to_string (error->domain), error->code);
|
|
g_error_free (error);
|
|
ret = 127;
|