mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 16:11:22 +00:00
trivial: Fix some NULL/FALSE confusion in the daemon
This commit is contained in:
parent
0e7102c4f8
commit
bfe6c77549
@ -233,7 +233,7 @@ fu_main_create_request (FuMainPrivate *priv, const gchar *sender, GError **error
|
||||
error);
|
||||
if (value == NULL) {
|
||||
g_prefix_error (error, "failed to read user id of caller: ");
|
||||
return FALSE;
|
||||
return NULL;
|
||||
}
|
||||
g_variant_get (value, "(u)", &calling_uid);
|
||||
if (calling_uid == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user