VirtualBox

Ticket #20721: VBoxCreateUSBNode.patch

File VBoxCreateUSBNode.patch, 478 bytes (added by Nik Soggia, 3 years ago)

the right way to compare strings

  • VBoxCreateUSBNode.sh

    diff -Naubr VirtualBox.old/VBoxCreateUSBNode.sh VirtualBox.new/VBoxCreateUSBNode.sh
    old new  
    3232devpath="`printf "/dev/vboxusb/%.3d/%.3d" $bus $device`"
    3333case "$do_remove" in
    3434  0)
    35   if test -n "$class" -a "$class" -eq "$usb_class_hub"
     35  if test -n "$class" -a "$class" = "$usb_class_hub"
    3636  then
    3737      exit 0
    3838  fi

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy