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 4bb4b4d..192746a 100644 (file)
@@ -233,7 +233,7 @@ int main(int argc, char *argv[]) {
                         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));
                 }