fix broken trap

This commit is contained in:
Luca Bilke 2023-02-09 15:39:31 +01:00
parent cc53f7be1c
commit ec1914e0b9

View file

@ -2,7 +2,7 @@
# Rerun the remaps script whenever a new input device is added.
trap "rm -f /tmp/udev_pipe" HUP INT QUIT ILL TRAP BUS TERM
trap "rm -f /tmp/udev_pipe; exit" HUP INT QUIT ILL TRAP BUS TERM
mkfifo -m 600 /tmp/udev_pipe
udevadm monitor -u -t seat -s input -s usb >>/tmp/udev_pipe &
while :; do