You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
751 B
13 lines
751 B
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;
|
|
|