c1d5e94f69
- Install 50-default.rules in /usr/share - polkitbackendduktapeauthority.c: Print the error string we get back from duktape
18 lines
872 B
Plaintext
18 lines
872 B
Plaintext
From 138e4f4f0c3337981cb734f36a35ae578536c336 Mon Sep 17 00:00:00 2001
|
|
From: Jordan Petridis <jordan@centricular.com>
|
|
Date: Tue, 19 Jul 2022 16:58:09 +0300
|
|
Subject: [PATCH] polkitbackendduktapeauthority.c: Print the error string we get back from duktape
|
|
|
|
Index: src/polkitbackend/polkitbackendduktapeauthority.c
|
|
--- src/polkitbackend/polkitbackendduktapeauthority.c.orig
|
|
+++ src/polkitbackend/polkitbackendduktapeauthority.c
|
|
@@ -590,7 +590,7 @@ runaway_killer_thread_call_js (gpointer user_data)
|
|
if (duk_pcall_prop (cx, 0, 2) != DUK_EXEC_SUCCESS)
|
|
{
|
|
polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (ctx->authority),
|
|
- "Error evaluating admin rules: ",
|
|
+ "Error evaluating admin rules: %s",
|
|
duk_safe_to_string (cx, -1));
|
|
goto err;
|
|
}
|