jcnelson / vdev

A device-file manager for *nix
GNU General Public License v3.0
101 stars 13 forks source link

Fix for the checks in sound.sh #51

Closed fbt closed 9 years ago

fbt commented 9 years ago

In sound.sh, snd/by-id links are not created because of faulty logic: we check for a variable that is supposed to be set after the check.

This commit fixes it and some unnecessary whitespace.

jcnelson commented 9 years ago

Thanks for the pull request! I don't normally generate any /dev/snd/by-id links from udev, so it was hard for me to test that area of code.