diff options
Diffstat (limited to 'src/lockdown.c')
-rw-r--r-- | src/lockdown.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 3e2fe06..c6efb16 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -743,7 +743,8 @@ static lockdownd_error_t pair_record_generate(lockdownd_client_t client, plist_t } /* set SystemBUID */ - if (userpref_read_system_buid(&system_buid)) { + userpref_read_system_buid(&system_buid); + if (system_buid) { plist_dict_set_item(*pair_record, USERPREF_SYSTEM_BUID_KEY, plist_new_string(system_buid)); } |