summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/puppetrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/puppetrun b/bin/puppetrun
index 69448cbd7..d4af0abb6 100755
--- a/bin/puppetrun
+++ b/bin/puppetrun
@@ -121,7 +121,7 @@
end
begin
require 'ldap'
-rescue
+rescue LoadError
$stderr.puts "Failed to load ruby LDAP library. LDAP functionality will not be available"
end
require 'puppet'