summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-04-17 20:03:30 -0400
committerJoey Hess2014-04-17 20:03:30 -0400
commite9453aaf5e616c3e1e00f6f2c7d5d8c256fe1129 (patch)
tree2ca294eb29664bac3ed03fd7ff1cc5aec4a5cc63
parentb6426ed84d805e8995a9803565c0bf261cb1a79d (diff)
propellor spin
-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 d8c072eb..71580bc3 100644
--- a/Propellor/Property/Cron.hs
+++ b/Propellor/Property/Cron.hs
@@ -25,7 +25,7 @@ job desc times user cddir command = cronjobfile `File.hasContent`
, ""
, times ++ "\t" ++ user ++ "\t"
++ "flock -n " ++ shellEscape cronjobfile
- ++ " -c sh -c " ++ shellEscape cmdline
+ ++ " sh -c " ++ shellEscape cmdline
]
`requires` Apt.serviceInstalledRunning "cron"
`describe` ("cronned " ++ desc)