From a37e0a6bc3816bb85f1ebca7e0fd7a9bb2349b3a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 21 Jan 2015 23:22:42 -0400 Subject: propellor spin --- src/Propellor/Property/Systemd/Journald.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Propellor') 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 = -- cgit v1.2.3