Fix "NoMethodError undefined method 'empty?' for nil:NilClass

git-svn-id: file:///home/svn/framework3/trunk@13959 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Wei Chen 2011-10-16 23:23:57 +00:00
parent 39a4488da5
commit 7e1070c24e
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class Metasploit3 < Msf::Post
print_error "Unsupported platform #{session.platform}"
return
end
if paths.empty?
if paths.nil? or paths.empty?
print_status("No users found with a FileZilla directory")
return
end