about summary refs log tree commit homepage
path: root/lib/dtas
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-12-08 06:57:23 +0000
committerEric Wong <e@80x24.org>2014-12-08 06:57:23 +0000
commit0725cd8adaab279d96958ed6af982639cadc3c17 (patch)
treebc257a3e51fb587780187454ed914b0692447cff /lib/dtas
parent698e1f04580839ea29647f285b39b88fcbb46071 (diff)
downloaddtas-0725cd8adaab279d96958ed6af982639cadc3c17.tar.gz
Followup to commit 698e1f04580839ea29647f285b39b88fcbb46071
"process: update comment for bug workaround"
Diffstat (limited to 'lib/dtas')
-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 020737d..c0ce9a3 100644
--- a/lib/dtas/process.rb
+++ b/lib/dtas/process.rb
@@ -78,7 +78,8 @@ module DTAS::Process # :nodoc:
     env = env_expand(env, opts)
     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
     w.close