Remove stray quote from raise in writable? method
Didn't break the string but looked funny.GSoC/Meterpreter_Web_Console
parent
e7712c1ed3
commit
95e2c388c4
|
@ -143,7 +143,7 @@ module Msf::Post::File
|
|||
# @return [Boolean] true if +path+ exists and is writable
|
||||
#
|
||||
def writable?(path)
|
||||
raise "writable?' method does not support Windows systems" if session.platform == 'windows'
|
||||
raise "writable? method does not support Windows systems" if session.platform == 'windows'
|
||||
|
||||
cmd_exec("test -w '#{path}' && echo true").to_s.include? 'true'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue