From 1451435ca5d43c2e632b7448d45e8b04dc727d62 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 13 Apr 2022 18:51:56 +0200 Subject: execute: debug log if a generated recursive cred name is too long --- src/core/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1