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
commit c66fe5a161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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