summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Ccache.hs
diff options
context:
space:
mode:
authorJoey Hess2017-02-26 16:40:34 -0400
committerJoey Hess2017-02-26 16:40:34 -0400
commitdb4121edeeba2899926333df46308ca0baf45b71 (patch)
tree3af8b426fbff2d0cb1d00a8e250f148ffcb1a3b0 /src/Propellor/Property/Ccache.hs
parent663fb4cc4545dc25e062fb0bc4af933402923506 (diff)
use val instead of show
Diffstat (limited to 'src/Propellor/Property/Ccache.hs')
-rw-r--r--src/Propellor/Property/Ccache.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Ccache.hs b/src/Propellor/Property/Ccache.hs
index c0b8d539..a2bef117 100644
--- a/src/Propellor/Property/Ccache.hs
+++ b/src/Propellor/Property/Ccache.hs
@@ -76,7 +76,7 @@ limitToParams NoLimit = []
limitToParams (MaxSize s) = case maxSizeParam s of
Just param -> [Right param]
Nothing -> [Left $ "unable to parse data size " ++ s]
-limitToParams (MaxFiles f) = [Right $ "--max-files=" ++ show f]
+limitToParams (MaxFiles f) = [Right $ "--max-files=" ++ val f]
limitToParams (l1 :+ l2) = limitToParams l1 <> limitToParams l2
-- | Configures a ccache in /var/cache for a group