summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton2017-07-15 17:06:54 -0700
committerSean Whitton2017-07-15 17:06:54 -0700
commit2d1b302bb29332f6afa602bb4b4a5cca75bf99fd (patch)
treea13f6245b78c60cd9e7f7c005eaeecadaa9f98b4
parent7c91ef33df74808423e28daee9e87b513d278360 (diff)
fix usage of File.hasContent
-rw-r--r--src/Propellor/Property/Timezone.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Timezone.hs b/src/Propellor/Property/Timezone.hs
index 267c4f0b..96a5e59c 100644
--- a/src/Propellor/Property/Timezone.hs
+++ b/src/Propellor/Property/Timezone.hs
@@ -11,7 +11,7 @@ type Timezone = String
-- | Sets the system's timezone
configured :: Timezone -> Property DebianLike
-configured zone = File.hasContent "/etc/timezone" zone
+configured zone = File.hasContent "/etc/timezone" [zone]
`onChange` update
`describe` (zone ++ " timezone configured")
where