fix rescue in file_system_test.rb

This commit is contained in:
Doug MacEachern 2010-05-28 08:58:54 -07:00
parent d20d75908d
commit 619e639eca
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class FileSystemTest < Test::Unit::TestCase
begin
usage = sigar.file_system_usage fs.dir_name
rescue err
rescue => err
if fs.type == Sigar::FSTYPE_LOCAL_DISK
raise err
end