mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-12 09:17:44 +03:00
umount: log_info about what we unmounted
This commit is contained in:
parent
b8590c197d
commit
0415a10436
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user