about summary refs log tree commit homepage
path: root/bin
diff options
authorEric Wong <e@80x24.org>2015-01-18 08:42:07 +0000
committerEric Wong <e@80x24.org>2015-01-19 09:58:47 +0000
commit3e392aa8edf36a471f951b880e421be056d72587 (patch)
tree0d4d3d8e1cec5b0aefe58d2c1207409494a35cc9 /bin
parentb5bc0240f47dba01ff0a09263c210e5d391f88dc (diff)
dtas-sinkedit now shows default parameters in addition
to user-changed parameters, allowing easier editing.
Also, we need to be able to revert back to using the default
pipe_size on Linux by setting pipe_size to nil (as an empty
field in YAML).
Diffstat (limited to 'bin')
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/dtas-sinkedit b/bin/dtas-sinkedit
index b631728..1b5cd19 100755
--- a/bin/dtas-sinkedit
+++ b/bin/dtas-sinkedit
@@ -28,10 +28,12 @@ update_cmd_env(cmd, orig, sink)
   cmd << "#{field}=#{sink[field] ? 'true' : 'false'}"
-%w(prio pipe_size).each do |field|
+%w(prio).each do |field|
   value = sink[field] and cmd << "#{field}=#{value}"
+%w(pipe_size).each { |field| cmd << "#{field}=#{sink[field]}" }
 # nil OK
 %w(command).each do |field|
   cmd << "#{field}=#{sink[field]}"