From 9c204a40ac68862dc50fede4419cda7e75906a04 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 31 Dec 2015 12:03:05 -0400 Subject: propellor spin --- src/Propellor/Property/Postfix.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property/Postfix.hs') diff --git a/src/Propellor/Property/Postfix.hs b/src/Propellor/Property/Postfix.hs index c5abde6b..b8599376 100644 --- a/src/Propellor/Property/Postfix.hs +++ b/src/Propellor/Property/Postfix.hs @@ -194,7 +194,7 @@ formatServiceLine s = unwords $ map pad v f sel = maybe "-" f (sel (serviceOpts s)) bool True = "y" bool False = "n" - pad (n, s) = s ++ replicate (n - 1 - length s) ' ' + pad (n, t) = t ++ replicate (n - 1 - length t) ' ' -- | Note that this does not handle multi-line service entries, -- in which subsequent lines are indented. `serviceLine` does not generate -- cgit v1.2.3