umount: log_info about what we unmounted

This commit is contained in:
Harald Hoyer 2011-05-20 16:26:00 +02:00
parent b8590c197d
commit 0415a10436

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;