mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
execute: debug log if a generated recursive cred name is too long
This commit is contained in:
parent
10b44e1dc1
commit
1451435ca5
@ -2737,7 +2737,7 @@ static int load_cred_recurse_dir_cb(
|
||||
return -ENOMEM;
|
||||
|
||||
if (!credential_name_valid(sub_id))
|
||||
return -EINVAL;
|
||||
return log_debug_errno(SYNTHETIC_ERRNO(EINVAL), "Credential would get ID %s, which is not valid, refusing", sub_id);
|
||||
|
||||
if (set_contains(args->seen_creds, sub_id)) {
|
||||
log_debug("Skipping credential with duplicated ID %s at %s", sub_id, path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user