summaryrefslogtreecommitdiff
path: root/src/home/homework.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-09-22 16:32:07 +0200
committerLennart Poettering <lennart@poettering.net>2020-09-23 18:57:36 +0200
commit30f5d10421e6b1a22cf5d707a9c90c32914bce6b (patch)
treee12688a4e9874039917ada0f25159f7b0f7aeb30 /src/home/homework.c
parent511a8cfe300662963522cea314e3b2426fc2f3ee (diff)
downloadsystemd-30f5d10421e6b1a22cf5d707a9c90c32914bce6b.tar.gz
mount-util: rework umount_verbose() to take log level and flags arg
Let's make umount_verbose() more like mount_verbose_xyz(), i.e. take log level and flags param. In particular the latter matters, since we typically don't actually want to follow symlinks when unmounting.
Diffstat (limited to 'src/home/homework.c')
-rw-r--r--src/home/homework.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homework.c b/src/home/homework.c
index 986ce2b3f0..14e2002c73 100644
--- a/src/home/homework.c
+++ b/src/home/homework.c
@@ -291,7 +291,7 @@ int home_setup_undo(HomeSetup *setup) {
}
if (setup->undo_mount) {
- q = umount_verbose("/run/systemd/user-home-mount");
+ q = umount_verbose(LOG_DEBUG, "/run/systemd/user-home-mount", UMOUNT_NOFOLLOW);
if (q < 0)
r = q;
}