umount: log_info about what we unmounted

This commit is contained in:
Harald Hoyer
2011-07-04 12:47:50 +02:00
parent b8590c197d
commit 0415a10436
+1
View 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;