diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-04-13 18:51:56 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-04-22 11:32:46 +0200 |
commit | 1451435ca5d43c2e632b7448d45e8b04dc727d62 (patch) | |
tree | 2dd8f2d8aa161518df7b79d54fa9b46e3f8bd2b6 | |
parent | 10b44e1dc1e4263468cda5f8e05008fc737286fc (diff) | |
download | systemd-1451435ca5d43c2e632b7448d45e8b04dc727d62.tar.gz |
execute: debug log if a generated recursive cred name is too long
-rw-r--r-- | src/core/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c index 437d517b71..4cc2446675 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -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); |