cryptsetup: set libcryptsetup global log callback too

This commit is contained in:
Ivan Shapovalov 2019-07-06 13:48:50 +03:00
parent df2452c553
commit 8c71b2cd44

View file

@ -637,6 +637,7 @@ static int run(int argc, char *argv[]) {
log_setup_service();
crypt_set_log_callback(NULL, cryptsetup_log_glue, NULL);
umask(0022);
if (streq(argv[1], "attach")) {