summaryrefslogtreecommitdiff
path: root/Propellor/Property/Cron.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-04-19 02:10:56 -0400
committerJoey Hess <joey@kitenet.net>2014-04-19 02:10:56 -0400
commit5dd316a0ad4abce5e81ea19e52caf7b57081cda3 (patch)
tree92070fc17e1a57245e1d0f89d5d3bf8599406d85 /Propellor/Property/Cron.hs
parent5b4f3d109ee7393b1e44cac60b43def2ce4c8b24 (diff)
parent6aeeaaab9073675e8c043d009c97ff62d809975b (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'Propellor/Property/Cron.hs')
-rw-r--r--Propellor/Property/Cron.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Property/Cron.hs b/Propellor/Property/Cron.hs
index 0649ee9f..5b070eff 100644
--- a/Propellor/Property/Cron.hs
+++ b/Propellor/Property/Cron.hs
@@ -33,7 +33,7 @@ job desc times user cddir command = cronjobfile `File.hasContent`
`requires` Apt.installed ["util-linux", "moreutils"]
`describe` ("cronned " ++ desc)
where
- cmdline = "cd " ++ cddir ++ " && " ++ command
+ cmdline = "cd " ++ cddir ++ " && ( " ++ command ++ " )"
cronjobfile = "/etc/cron.d/" ++ map sanitize desc
sanitize c
| isAlphaNum c = c