]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: set libcryptsetup global log callback too
authorIvan Shapovalov <intelfx@intelfx.name>
Sat, 6 Jul 2019 10:48:50 +0000 (13:48 +0300)
committerIvan Shapovalov <intelfx@intelfx.name>
Sat, 6 Jul 2019 10:56:19 +0000 (13:56 +0300)
src/cryptsetup/cryptsetup.c

index a001ac75067a65b0a8232e25b0c8982330349577..54c787857d6cbfb6604aca276521d33be55405c3 100644 (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")) {