about summary refs log tree commit homepage
path: root/lib/rainbows/revactor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/revactor.rb')
-rw-r--r--lib/rainbows/revactor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/revactor.rb b/lib/rainbows/revactor.rb
index 52cebf8..3375652 100644
--- a/lib/rainbows/revactor.rb
+++ b/lib/rainbows/revactor.rb
@@ -110,12 +110,12 @@ module Rainbows
         end
       end
 
-      nr = 0
+      m = 0
       begin
         Actor.receive do |filter|
           filter.after(1) do
             if alive
-              alive.chmod(nr = 0 == nr ? 1 : 0)
+              alive.chmod(m = 0 == m ? 1 : 0)
               listeners.each { |l| alive = false if l.dead? }
               ppid == Process.ppid or alive = false
             end