summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
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 =