PolicyKit: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 18 15:09:26 UTC 2023
src/programs/pkcheck.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7550b683c0fe514d4cb8a173f4ee5b2410c7c3cd
Author: bboy_vi <1037381963 at qq.com>
Date: Wed Jan 18 15:09:24 2023 +0000
fix core dump problem
diff --git a/src/programs/pkcheck.c b/src/programs/pkcheck.c
index 768525c..c02ff97 100644
--- a/src/programs/pkcheck.c
+++ b/src/programs/pkcheck.c
@@ -554,7 +554,7 @@ main (int argc, char *argv[])
{
g_printerr ("Error checking for authorization %s: %s\n",
action_id,
- error->message);
+ error ? error->message : "Could not verify; error object not present.");
ret = 127;
goto out;
}
More information about the hal-commit
mailing list