summaryrefslogtreecommitdiffstats
path: root/stp_check.in
diff options
context:
space:
mode:
authortrz <trz>2006-04-04 14:06:16 +0000
committertrz <trz>2006-04-04 14:06:16 +0000
commit984dcc0f89d6e02c1d0a647352358dbc25c110ac (patch)
treebc3662134756f172d2a03179dfa4212fe0df7446 /stp_check.in
parentae653153d30946a7706369486dc646a9a3839a7c (diff)
downloadsystemtap-steved-984dcc0f89d6e02c1d0a647352358dbc25c110ac.tar.gz
systemtap-steved-984dcc0f89d6e02c1d0a647352358dbc25c110ac.tar.xz
systemtap-steved-984dcc0f89d6e02c1d0a647352358dbc25c110ac.zip
fix for bug #2511
Diffstat (limited to 'stp_check.in')
-rwxr-xr-xstp_check.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/stp_check.in b/stp_check.in
index 6e429b91..91f641dc 100755
--- a/stp_check.in
+++ b/stp_check.in
@@ -1,7 +1,8 @@
#!/bin/bash
-RELAY=`grep sysfs_create_relay_file /proc/kallsyms`
-if [ -n "$RELAY" ]
+RELAYFS_FS=`grep relayfs_create_dir /proc/kallsyms`
+RELAY=`grep relay_open /proc/kallsyms`
+if [ -n "$RELAY" -a -z "$RELAYFS_FS" ]
then
exit 0
fi