diff options
-rw-r--r-- | src/core/mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/mount.c b/src/core/mount.c index 419cf27a88..895aa25371 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -447,7 +447,8 @@ static int mount_add_default_dependencies(Mount *m) { if (UNIT(m)->manager->running_as != SYSTEMD_SYSTEM) return 0; - p = get_mount_parameters_fragment(m); + p = get_mount_parameters(m); + if (!p) return 0; |