summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/logging.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/util/logging.rb')
-rw-r--r--lib/puppet/util/logging.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/logging.rb b/lib/puppet/util/logging.rb
index fa50efa0a..e514affd0 100644
--- a/lib/puppet/util/logging.rb
+++ b/lib/puppet/util/logging.rb
@@ -35,6 +35,6 @@ module Puppet::Util::Logging
def log_source
# We need to guard the existence of the constants, since this module is used by the base Puppet module.
(is_resource? or is_resource_parameter?) and respond_to?(:path) and return path.to_s
- return to_s
+ to_s
end
end