diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-12-26 12:08:02 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-12-26 12:09:38 -0400 |
| commit | 5605c9665e57b22c7415691984f31f75b3337cd9 (patch) | |
| tree | 8f5790d1bb4dab6220e21449caf6ed1d5f802405 /src/Propellor/Property.hs | |
| parent | 1d868470e4ec6ec6211206003279ac4bc8465c4f (diff) | |
| parent | 44bf67b7a2da75ef80e32d6409cc41a6ab8b6ffe (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property.hs')
| -rw-r--r-- | src/Propellor/Property.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property.hs b/src/Propellor/Property.hs index ae4fc914..8f51035b 100644 --- a/src/Propellor/Property.hs +++ b/src/Propellor/Property.hs @@ -222,7 +222,7 @@ changesFile p f = checkResult getstat comparestat p changesFileContent :: Checkable p i => p i -> FilePath -> Property i changesFileContent p f = checkResult getmd5 comparemd5 p where - getmd5 = catchMaybeIO $ MD5.md5 . MD5.Str <$> readFileStrictAnyEncoding f + getmd5 = catchMaybeIO $ MD5.md5 . MD5.Str <$> readFileStrict f comparemd5 oldmd5 = do newmd5 <- getmd5 return $ if oldmd5 == newmd5 then NoChange else MadeChange |
