From 984dcc0f89d6e02c1d0a647352358dbc25c110ac Mon Sep 17 00:00:00 2001 From: trz Date: Tue, 4 Apr 2006 14:06:16 +0000 Subject: fix for bug #2511 --- stp_check.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stp_check.in') 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 -- cgit