summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2015-01-21 23:22:42 -0400
committerJoey Hess2015-01-21 23:22:42 -0400
commita37e0a6bc3816bb85f1ebca7e0fd7a9bb2349b3a (patch)
treed78eb65584149b8f4a266aa03ae666b5a78683ec /src/Propellor
parentfa66cb49d668ca065324530ced05b72de0499e34 (diff)
propellor spin
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Systemd/Journald.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property/Systemd/Journald.hs b/src/Propellor/Property/Systemd/Journald.hs
index e852ebd9..978cd54d 100644
--- a/src/Propellor/Property/Systemd/Journald.hs
+++ b/src/Propellor/Property/Systemd/Journald.hs
@@ -1,7 +1,6 @@
module Propellor.Property.Systemd.Journald where
import Propellor
import qualified Propellor.Property.Systemd as Systemd
-import qualified Propellor.Property.File as File
import Utility.DataUnits
-- | Configures journald, restarting it so the changes take effect.
@@ -39,7 +38,7 @@ runtimeMaxFileSize = configuredSize "RuntimeMaxFileSize"
-- Generates size units as used in journald.conf.
systemdSizeUnits :: Integer -> String
-systemdSizeUnits n = filter (/= ' ') (roughSize cfgfileunits True n)
+systemdSizeUnits sz = filter (/= ' ') (roughSize cfgfileunits True sz)
where
cfgfileunits :: [Unit]
cfgfileunits =