From 4349da9c1be4f9584c156a1bff8a51b59e3a65f5 Mon Sep 17 00:00:00 2001 From: marcandre Date: Tue, 22 Jun 2010 05:46:01 +0000 Subject: [PATCH] * lib/fileutils.rb: Fix warning git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/fileutils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fileutils.rb b/lib/fileutils.rb index f2afdfbcf7..5905022c96 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -215,7 +215,7 @@ module FileUtils stack.reverse_each do |dir| begin fu_mkdir dir, options[:mode] - rescue SystemCallError => err + rescue SystemCallError raise unless File.directory?(dir) end end