about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-01 00:50:40 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-01 00:50:40 +0000
commit6d12a518f69f950d814eb223fe5bf1ad448dcc34 (patch)
tree1f3b731fbba8b79c6a83a5cd505bee51faccbf8d /examples
parentb080ac88303f31332252aae4b430af5445114b99 (diff)
downloadraindrops-6d12a518f69f950d814eb223fe5bf1ad448dcc34.tar.gz
We want any pipe readers to see this immediately
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/linux-tcp-listener-stats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/linux-tcp-listener-stats.rb b/examples/linux-tcp-listener-stats.rb
index 6497ca1..522882a 100755
--- a/examples/linux-tcp-listener-stats.rb
+++ b/examples/linux-tcp-listener-stats.rb
@@ -1,5 +1,5 @@
 #!/usr/bin/ruby
-
+$stdout.sync = $stderr.sync = true
 # this is used to show or watch the number of active and queued
 # connections on any listener socket from the command line