summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/systemu.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systemu.rb b/lib/systemu.rb
index 5f7745a..aa12fe4 100644
--- a/lib/systemu.rb
+++ b/lib/systemu.rb
@@ -294,7 +294,7 @@ if defined? JRUBY_VERSION
field = process.get_class.get_declared_field("pid")
field.set_accessible(true)
pid = field.get(process)
- thread = new_thread pid, @block if @block
+ _thread = new_thread pid, @block if @block
exit_code = process.wait_for
[
RubyProcess::RubyStatus.new_process_status(JRuby.runtime, exit_code, pid),