parent
a418410260
commit
9e5231f951
|
@ -63,7 +63,7 @@ class Plugin::MSGRPC < Msf::Plugin
|
||||||
|
|
||||||
# If the run in foreground flag is not specified, then go ahead and fire
|
# If the run in foreground flag is not specified, then go ahead and fire
|
||||||
# it off in a worker thread.
|
# it off in a worker thread.
|
||||||
if (opts['RunInForeground'] != true)
|
unless opts['RunInForeground'] == true
|
||||||
# Store a handle to the thread so we can kill it during
|
# Store a handle to the thread so we can kill it during
|
||||||
# cleanup when we get unloaded.
|
# cleanup when we get unloaded.
|
||||||
self.thread = Thread.new { run }
|
self.thread = Thread.new { run }
|
||||||
|
|
Loading…
Reference in New Issue