Merge pull request #62902 from rvolosatovs/fix/systemd-networkd-match

systemd-networkd: Only generate [Match] if present
This commit is contained in:
Franz Pletz
2019-06-09 23:08:09 +00:00
committed by GitHub

View File

@@ -669,7 +669,7 @@ let
};
};
commonMatchText = def: ''
commonMatchText = def: optionalString (def.matchConfig != {}) ''
[Match]
${attrsToSection def.matchConfig}
'';