cryptsetup: downgrade dlopen not compiled message to debug

Every other log in this function is debug level, so downgrade this too.
Otherwise compiling without libcryptsetup means sd-executor logs at
error level when starting any service, regardless of whether it is
needed or not.

Fixes https://github.com/systemd/systemd/issues/39968

Follow-up for efaf5a763d
This commit is contained in:
Luca Boccassi
2025-12-02 14:16:27 +00:00
parent 929ce35f8d
commit ce3acf9acb

View File

@@ -298,7 +298,7 @@ int dlopen_cryptsetup(void) {
return 1;
#else
return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "cryptsetup support is not compiled in.");
return log_debug_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "cryptsetup support is not compiled in.");
#endif
}