From ec1914e0b96c7b85be2197289e45852f08b95579 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Thu, 9 Feb 2023 15:39:31 +0100 Subject: [PATCH] fix broken trap --- .local/bin/remapd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/remapd b/.local/bin/remapd index f2edb4f..2d87eae 100755 --- a/.local/bin/remapd +++ b/.local/bin/remapd @@ -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