]> err.no Git - systemd/commitdiff
umount: log_info about what we unmounted
authorHarald Hoyer <harald@redhat.com>
Fri, 20 May 2011 14:26:00 +0000 (16:26 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 4 Jul 2011 10:47:50 +0000 (12:47 +0200)
src/umount.c

index 95efa8204b2e9e9cb11e2cf07666d1556251354d..290e6cad02e7b7875d784ca3f02c6b6e6ac88ff8 100644 (file)
@@ -417,6 +417,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed) {
 
                 /* Trying to umount. Forcing to umount if busy (only for NFS mounts) */
                 if (umount2(m->path, MNT_FORCE) == 0) {
+                        log_info("Unmounted %s.", m->path);
                         if (changed)
                                 *changed = true;