systemd-networkd: Only generate [Match] if present
This commit is contained in:
parent
98e3b90b6c
commit
8e489018d3
@ -669,7 +669,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
commonMatchText = def: ''
|
||||
commonMatchText = def: optionalString (def.matchConfig != {}) ''
|
||||
[Match]
|
||||
${attrsToSection def.matchConfig}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user