diff options
Diffstat (limited to 'test/test.tty')
-rw-r--r-- | test/test.tty | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.tty b/test/test.tty index d5e2d6715d..42f46a2e7c 100644 --- a/test/test.tty +++ b/test/test.tty @@ -15,6 +15,6 @@ BIN=./udev # location of your udev binary export ACTION=$1 # 'add' or 'remove' for i in ${SYSFSDIR}/class/tty/*; do - export DEVPATH="/"`echo $i | cut --delimiter='/' --fields=3-` + export DEVPATH=${i#${SYSFSDIR}} $BIN tty done |