Land #10684, stray quote fix for writable? raise

GSoC/Meterpreter_Web_Console
William Vu 2018-09-20 22:55:11 -05:00
commit a38080528b
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 1 deletions

View File

@ -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