summaryrefslogtreecommitdiff
path: root/src/core/dbus-mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-08-04 16:16:04 +0200
committerGitHub <noreply@github.com>2016-08-04 16:16:04 +0200
commiteb18df724ba541ac1c7fd5c77d9244fa6bc5cabf (patch)
tree8d04bf1b38265cc8c5da2b6ae5bfef0db4eb5360 /src/core/dbus-mount.c
parent07a1734a13a7c43cf4b86c10358cacc7051f6469 (diff)
parent96f5957f1f0d98584bb463d73616a6755e02624b (diff)
Merge pull request #2471 from michaelolbrich/transient-mounts
allow transient mounts and automounts
Diffstat (limited to 'src/core/dbus-mount.c')
-rw-r--r--src/core/dbus-mount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/dbus-mount.c b/src/core/dbus-mount.c
index 935db7c48b..b4bbee0648 100644
--- a/src/core/dbus-mount.c
+++ b/src/core/dbus-mount.c
@@ -157,6 +157,9 @@ static int bus_mount_set_transient_property(
if (!p)
return -ENOMEM;
+ unit_write_drop_in_format(UNIT(m), mode, name, "[Mount]\n%s=%s\n",
+ name, new_property);
+
free(*property);
*property = p;
}