summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/log_paths.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/util/log_paths.rb')
-rw-r--r--lib/puppet/util/log_paths.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/log_paths.rb b/lib/puppet/util/log_paths.rb
index 46f6c481d..b5bdc50de 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
- unless defined? @path
+ unless defined?(@path)
@path = pathbuilder
end