Unverified Commit f73b89d2 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #240555 from Artturin/iniglobsecneed

parents 3a9a4076 ce54db6f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ rec {
    mkKeyValue    ? mkKeyValueDefault {} "=",
    # allow lists as values for duplicate keys
    listsAsDuplicateKeys ? false
  }: { globalSection, sections }:
  }: { globalSection, sections ? {} }:
    ( if globalSection == {}
      then ""
      else (toKeyValue { inherit mkKeyValue listsAsDuplicateKeys; } globalSection)