about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-12-08 06:50:01 +0000
committerEric Wong <e@80x24.org>2014-12-08 06:51:06 +0000
commit698e1f04580839ea29647f285b39b88fcbb46071 (patch)
tree645b18651b0fed5bfc8e9b228a1354cd0b834d7c /lib
parentcb81223c3c572556479424b099d54fc254706300 (diff)
downloaddtas-698e1f04580839ea29647f285b39b88fcbb46071.tar.gz
We're certain this is a workaround for a bug.  We may remove the
workaround at some point in the future; but not until the rest of
the world has had a chance to upgrade, too.
Diffstat (limited to 'lib')
-rw-r--r--lib/dtas/process.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dtas/process.rb b/lib/dtas/process.rb
index d70e6e5..020737d 100644
--- a/lib/dtas/process.rb
+++ b/lib/dtas/process.rb
@@ -49,7 +49,8 @@ module DTAS::Process # :nodoc:
 
     pid = begin
       Process.spawn(env, cmd, opts)
-    rescue Errno::EINTR # Ruby bug?
+    rescue Errno::EINTR
+      # workaround for older Rubies https://bugs.ruby-lang.org/issues/8770
       retry
     end
     warn [ :spawn, pid, cmd ].inspect if $DEBUG