chiark / gitweb /
shutdown: downgrade a warning
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 7 Dec 2012 16:28:30 +0000 (17:28 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 7 Dec 2012 16:28:30 +0000 (17:28 +0100)
All messages of the kind "not all done, %d left" are log_info, except
the one for DM devices. Make it info too.

src/core/shutdown.c

index 4bb4b4d13e435e157a950907762d5902fce246c6..192746a9532b07525719cc7b68610a4cd1f96f16 100644 (file)
@@ -233,7 +233,7 @@ int main(int argc, char *argv[]) {
                         if (r == 0)
                                 need_dm_detach = false;
                         else if (r > 0)
                         if (r == 0)
                                 need_dm_detach = false;
                         else if (r > 0)
-                                log_warning("Not all DM devices detached, %d left.", r);
+                                log_info("Not all DM devices detached, %d left.", r);
                         else
                                 log_error("Failed to detach DM devices: %s", strerror(-r));
                 }
                         else
                                 log_error("Failed to detach DM devices: %s", strerror(-r));
                 }