homed: make sure we log about invalid user records we load
This commit is contained in:
parent
20f4a308bf
commit
b847192699
|
@ -358,7 +358,7 @@ static int manager_add_home_by_record(
|
||||||
if (!hr)
|
if (!hr)
|
||||||
return log_oom();
|
return log_oom();
|
||||||
|
|
||||||
r = user_record_load(hr, v, USER_RECORD_LOAD_REFUSE_SECRET);
|
r = user_record_load(hr, v, USER_RECORD_LOAD_REFUSE_SECRET|USER_RECORD_LOG);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue