diff options
author | Eric Wong <e@80x24.org> | 2015-09-06 23:15:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-06 23:16:43 +0000 |
commit | 856b1c7064155e59c84942a7e8cd36128b6be34e (patch) | |
tree | c45027bedec2caa280c26c815f45a8f4d1b8a120 /lib/dtas/sink.rb | |
parent | c3bb7810709a99a9886c7f96aed6fa62690a12cb (diff) | |
download | dtas-856b1c7064155e59c84942a7e8cd36128b6be34e.tar.gz |
This allows us to avoid wasting time reopening the same device over and over again.
Diffstat (limited to 'lib/dtas/sink.rb')
-rw-r--r-- | lib/dtas/sink.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/sink.rb b/lib/dtas/sink.rb index 70d6861..0bf49f4 100644 --- a/lib/dtas/sink.rb +++ b/lib/dtas/sink.rb @@ -91,7 +91,7 @@ class DTAS::Sink # :nodoc: w.sink = self rv << w end - opts[:in] = "/dev/null" + opts[:in] = DTAS.null # map to real /dev/fd/* values and setup proper redirects cmd = cmd.gsub(DEVFD_RE) do |