diff options
Diffstat (limited to 'lib/chef/provider/cron.rb')
-rw-r--r-- | lib/chef/provider/cron.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/provider/cron.rb b/lib/chef/provider/cron.rb index c232585c18..2e702d4376 100644 --- a/lib/chef/provider/cron.rb +++ b/lib/chef/provider/cron.rb @@ -95,8 +95,8 @@ class Chef end def action_create - crontab = String.new - newcron = String.new + crontab = "" + newcron = "" cron_found = false newcron = get_crontab_entry @@ -156,7 +156,7 @@ class Chef def action_delete if @cron_exists - crontab = String.new + crontab = "" cron_found = false read_crontab.each_line do |line| case line.chomp |