Skip to content

Commit

Permalink
udev: fix removing USB entries
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jun 1, 2016
1 parent cf5f382 commit 93f676d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udev/udev-usb-remove
Expand Up @@ -4,7 +4,7 @@
[ "`echo $TYPE | cut -f1 -d/`" = "9" ] && exit 0

NAME=`basename ${DEVPATH} | tr . _`
QDB_KEY="/qubes-usb-devices/$NAME"
QDB_KEY="/qubes-usb-devices/$NAME/"

qubesdb-rm "$QDB_KEY"
qubesdb-write /qubes-usb-devices ''

0 comments on commit 93f676d

Please sign in to comment.