diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2016-06-20 18:15:50 +0200 |
|---|---|---|
| committer | Félix Sipma <felix.sipma@no-log.org> | 2016-06-20 18:15:50 +0200 |
| commit | d545ca394d423dab2f3c04b28adaca48ed04bf27 (patch) | |
| tree | 5e71d7387cb7e84d901f91dd4cfacd1f1b064135 /src/Propellor | |
| parent | 3a851213ad440476a37d2a318c4371b9e2c34ce2 (diff) | |
ConfFile.hasIniSection: add missing header
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Property/ConfFile.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/ConfFile.hs b/src/Propellor/Property/ConfFile.hs index d91c7724..54762689 100644 --- a/src/Propellor/Property/ConfFile.hs +++ b/src/Propellor/Property/ConfFile.hs @@ -106,7 +106,7 @@ hasIniSection f header keyvalues = where confheader = iniHeader header conflines = map (\(key, value) -> key ++ "=" ++ value) keyvalues - go _ = conflines + go _ = [confheader] ++ conflines -- | Ensures that a .ini file does not contain the specified section. lacksIniSection :: FilePath -> IniSection -> Property UnixLike |
