chiark / gitweb /
login: Use the GOTO properly in udev rule
authorTero Roponen <tero.roponen@gmail.com>
Wed, 30 May 2012 16:34:28 +0000 (18:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 May 2012 16:34:28 +0000 (18:34 +0200)
In udev rules the labels must be assigned to GOTO keys with '='.

src/login/70-power-switch.rules

index 9095923..36fb827 100644 (file)
@@ -5,7 +5,7 @@
 #  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
-ACTION=="remove", GOTO "power_switch_end"
+ACTION=="remove", GOTO="power_switch_end"
 
 SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
 SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"