summaryrefslogtreecommitdiff
path: root/src/71-seat.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-13 20:06:11 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-13 20:06:11 +0200
commit4d44e4f0b5d54327c112ad26a4b26397789d7192 (patch)
tree44ebd4ce012ab9b632e1f341278ef50174cb5520 /src/71-seat.rules
parentde07ab16c6b919cead26c9a5209a362127ff6142 (diff)
udev: actually check for existance of ID_PATH_TAG before we use it
Diffstat (limited to 'src/71-seat.rules')
-rw-r--r--src/71-seat.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/71-seat.rules b/src/71-seat.rules
index dca5e5f2ad..7c062034e7 100644
--- a/src/71-seat.rules
+++ b/src/71-seat.rules
@@ -16,6 +16,6 @@ SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"
SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="0001", ENV{ID_AUTOSEAT}="1"
TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
-TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}"
+TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH_TAG}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}"
LABEL="seat_end"