diff options
| author | Luca Bilke <luca@gmail.com> | 2023-02-09 15:39:31 +0100 |
|---|---|---|
| committer | Luca Bilke <luca@gmail.com> | 2023-02-09 15:39:31 +0100 |
| commit | ec1914e0b96c7b85be2197289e45852f08b95579 (patch) | |
| tree | 3347abb1bf1a46ee1ed2d7612e6f16241f4e9583 /.local/bin | |
| parent | cc53f7be1ccde78cc2d338297a00352b4fe545cf (diff) | |
| download | eibhear-ec1914e0b96c7b85be2197289e45852f08b95579.tar.gz eibhear-ec1914e0b96c7b85be2197289e45852f08b95579.tar.zst eibhear-ec1914e0b96c7b85be2197289e45852f08b95579.zip | |
fix broken trap
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/remapd | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
