diff options
Diffstat (limited to 'lib/puppet/util/log_paths.rb')
-rw-r--r-- | lib/puppet/util/log_paths.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/log_paths.rb b/lib/puppet/util/log_paths.rb index a7ad18906..e09ceb7fa 100644 --- a/lib/puppet/util/log_paths.rb +++ b/lib/puppet/util/log_paths.rb @@ -5,7 +5,7 @@ module Puppet::Util::LogPaths # return the full path to us, for logging and rollback # some classes (e.g., FileTypeRecords) will have to override this def path - @path = pathbuilder unless defined?(@path) + @path ||= pathbuilder "/" + @path.join("/") end |