cryptsetup: explicitl set default log functions wherever needed

Code using libcryptsetup already sets the global log function if it uses
dlopen_cryptsetup(). Make sure we do the same for the three programs
that explicitly link against libcryptsetup and hence to not use
dlopen_cryptsetup().
This commit is contained in:
Lennart Poettering
2021-06-01 13:33:09 +02:00
parent e9252faee9
commit 2f67864064
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1449,7 +1449,7 @@ static int run(int argc, char *argv[]) {
log_setup();
cryptsetup_enable_logging(cd);
cryptsetup_enable_logging(NULL);
umask(0022);