summaryrefslogtreecommitdiff
path: root/lib/chef/provider/cron/unix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/cron/unix.rb')
-rw-r--r--lib/chef/provider/cron/unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/cron/unix.rb b/lib/chef/provider/cron/unix.rb
index 1149f43f76..5cb1bcda41 100644
--- a/lib/chef/provider/cron/unix.rb
+++ b/lib/chef/provider/cron/unix.rb
@@ -63,7 +63,7 @@ class Chef
Chef::Log.debug(e.message)
exit_status = 1
error_message = e.message
- end
+ end
tempcron.close!
if exit_status > 0
raise Chef::Exceptions::Cron, "Error updating state of #{@new_resource.name}, exit: #{exit_status}, message: #{error_message}"