diff options
Diffstat (limited to 'lib/chef/util/backup.rb')
-rw-r--r-- | lib/chef/util/backup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/backup.rb b/lib/chef/util/backup.rb index 8bf2b3f25b..a14f006d59 100644 --- a/lib/chef/util/backup.rb +++ b/lib/chef/util/backup.rb @@ -69,7 +69,7 @@ class Chef def do_backup FileUtils.mkdir_p(::File.dirname(backup_path)) if Chef::Config[:file_backup_path] - FileUtils.cp(path, backup_path, :preserve => true) + FileUtils.cp(path, backup_path, preserve: true) Chef::Log.info("#{@new_resource} backed up to #{backup_path}") end |