summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/backups.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/util/backups.rb')
-rw-r--r--lib/puppet/util/backups.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/util/backups.rb b/lib/puppet/util/backups.rb
index 4ab67771d..470d6d1bb 100644
--- a/lib/puppet/util/backups.rb
+++ b/lib/puppet/util/backups.rb
@@ -26,8 +26,9 @@ module Puppet::Util::Backups
info "Recursively backing up to filebucket"
Find.find(self[:path]) { |f| backup_file_with_filebucket(f) if File.file?(f) }
when "file"; backup_file_with_filebucket(file)
- when "link"; return true
+ when "link";
end
+ true
end
def perform_backup_with_backuplocal(fileobj, backup)