PolicyKit: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Aug 4 13:57:57 UTC 2022
src/polkitbackend/polkitbackendduktapeauthority.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 138e4f4f0c3337981cb734f36a35ae578536c336
Author: Jordan Petridis <jordan at centricular.com>
Date: Tue Jul 19 16:58:09 2022 +0300
polkitbackendduktapeauthority.c: Print the error string we get back from duktape
Looks like it was a typo.
diff --git a/src/polkitbackend/polkitbackendduktapeauthority.c b/src/polkitbackend/polkitbackendduktapeauthority.c
index f4b4304..02dbcfe 100644
--- a/src/polkitbackend/polkitbackendduktapeauthority.c
+++ b/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;
}
More information about the hal-commit
mailing list