Fix NoMethodERror undefined method 'each' for '[path]':String error.

paths might be a string instead of an array, because the function that does unix-based enumeration returns a string


git-svn-id: file:///home/svn/framework3/trunk@13970 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Wei Chen 2011-10-17 04:15:58 +00:00
parent 0af43246a4
commit 7ef8c16e75
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Metasploit3 < Msf::Post
print_status("Found .ssh directory for: #{id}")
print_status("stat = #{stat}")
return stat
return [stat]
end
return
end