summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorhunt <hunt>2006-03-20 22:55:15 +0000
committerhunt <hunt>2006-03-20 22:55:15 +0000
commit16cfa9fae6ff1965da2577c2ff99bb3ae6e18c31 (patch)
tree5be039b633cf1ba6d4a1544aeecc9d60df6274c9 /examples
parent15eeafe9465119eb443f59b332e24ecfeec10488 (diff)
downloadsystemtap-steved-16cfa9fae6ff1965da2577c2ff99bb3ae6e18c31.tar.gz
systemtap-steved-16cfa9fae6ff1965da2577c2ff99bb3ae6e18c31.tar.xz
systemtap-steved-16cfa9fae6ff1965da2577c2ff99bb3ae6e18c31.zip
2006-03-20 Martin Hunt <hunt@redhat.com>
* small_demos/key.stp: Pipe output to dev/null.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/small_demos/key.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/small_demos/key.stp b/examples/small_demos/key.stp
index 0489524a..6d2d6c3f 100755
--- a/examples/small_demos/key.stp
+++ b/examples/small_demos/key.stp
@@ -7,9 +7,9 @@
probe kernel.function("kbd_event") {
if ($event_type == 1 && $value) {
if ($event_code == 28)
- system("play return.wav")
+ system("play return.wav &> /dev/null")
else
- system("play click.wav")
+ system("play click.wav &> /dev/null")
}
}