From: Harald Hoyer Date: Fri, 20 May 2011 14:26:00 +0000 (+0200) Subject: umount: log_info about what we unmounted X-Git-Tag: v30~28^2~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=0415a104366b93418fcedb076a962c632d9dd2ab;ds=sidebyside umount: log_info about what we unmounted --- diff --git a/src/umount.c b/src/umount.c index 95efa8204..290e6cad0 100644 --- a/src/umount.c +++ b/src/umount.c @@ -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;