Merge pull request #281687 from K900/wantedby-oof

systemd-lib: fix automount generation after 9fbf82d9cb
This commit is contained in:
K900
2024-01-18 08:39:06 +03:00
committed by GitHub
+4 -5
View File
@@ -435,11 +435,10 @@ in rec {
automountToUnit = name: def:
{ inherit (def) aliases wantedBy requiredBy enable overrideStrategy;
text = commonUnitText def +
''
[Automount]
${attrsToSection def.automountConfig}
'';
text = commonUnitText def ''
[Automount]
${attrsToSection def.automountConfig}
'';
};
sliceToUnit = name: def: