From 0a2b0f8cec310824778c11118ae5c007ae7946d3 Mon Sep 17 00:00:00 2001 From: Jacob Robles Date: Tue, 4 Sep 2018 07:43:43 -0500 Subject: [PATCH] Remove trailing comma Fix issue causes target.ret to be an array --- lib/msf/core/module/target.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/module/target.rb b/lib/msf/core/module/target.rb index 0326af0a8d..76e088f3a5 100644 --- a/lib/msf/core/module/target.rb +++ b/lib/msf/core/module/target.rb @@ -139,7 +139,7 @@ class Msf::Module::Target self.name = name self.opts = opts self.save_registers = opts['SaveRegisters'] - self.ret = opts['Ret'], + self.ret = opts['Ret'] self.default_options = opts['DefaultOptions'] if opts['Platform']