summaryrefslogtreecommitdiff
path: root/src/umount.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-05-20 16:26:00 +0200
committerHarald Hoyer <harald@redhat.com>2011-07-04 12:47:50 +0200
commit0415a104366b93418fcedb076a962c632d9dd2ab (patch)
tree6567e54ff1c05f8b7b49fa9df94de8485c875146 /src/umount.c
parentb8590c197deceab623d37dbb95e30eec9cf47d14 (diff)
umount: log_info about what we unmounted
Diffstat (limited to 'src/umount.c')
-rw-r--r--src/umount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/umount.c b/src/umount.c
index 95efa8204b..290e6cad02 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;