Remove stray quote from raise in writable? method

Didn't break the string but looked funny.
GSoC/Meterpreter_Web_Console
William Vu 2018-09-20 22:19:18 -05:00
parent e7712c1ed3
commit 95e2c388c4
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