Fixes #325. Dont pass nil to the FileStat constructor, be strict about class path
git-svn-id: file:///home/svn/framework3/trunk@7049 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
602b1a2efd
commit
5e37dfa040
|
@ -90,7 +90,7 @@ class Dir < Rex::Post::Dir
|
||||||
st = nil
|
st = nil
|
||||||
|
|
||||||
if (sbuf[idx])
|
if (sbuf[idx])
|
||||||
st = FileStat.new(nil)
|
st = ::Rex::Post::FileStat.new
|
||||||
st.update(sbuf[idx].value)
|
st.update(sbuf[idx].value)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue