bugfix: catch lstat errors on local backend

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-09-15 14:53:10 +02:00
parent ef9b299319
commit 7f19111b1b

View file

@ -80,7 +80,7 @@ module Vulcano::Backends
begin begin
file_stat = ::File.lstat(@path) file_stat = ::File.lstat(@path)
rescue RuntimeError => _ rescue StandardError => err
return @stat = {} return @stat = {}
end end