chiark / gitweb /
umount: log_info about what we unmounted
[elogind.git] / 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;