From d545ca394d423dab2f3c04b28adaca48ed04bf27 Mon Sep 17 00:00:00 2001 From: FĂ©lix Sipma Date: Mon, 20 Jun 2016 18:15:50 +0200 Subject: ConfFile.hasIniSection: add missing header --- src/Propellor/Property/ConfFile.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property/ConfFile.hs') 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 -- cgit v1.2.3