From bf5d0bc3cd4fd688aae2c0b1b93c32ddcbf3983c Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 14 Sep 2006 18:11:53 +0000 Subject: Catching all errors encountered during loading, not just LoadError, to fix ongoing problems with rdoc/usage. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1593 980ebf18-57e1-0310-9a29-db15c13687c0 --- bin/puppet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/puppet') diff --git a/bin/puppet b/bin/puppet index 4ad3d7441..ef78bd025 100755 --- a/bin/puppet +++ b/bin/puppet @@ -64,7 +64,7 @@ $haveusage = true begin require 'rdoc/usage' -rescue LoadError +rescue $haveusage = false end -- cgit