change REDIRUSB variable check

This commit is contained in:
Ilfat G 2022-11-03 22:38:17 +03:00
parent d3e2f32505
commit 0c8d1466f4
No known key found for this signature in database
GPG key ID: D5E884CA11E29755

2
qemoo
View file

@ -183,7 +183,7 @@ COMMON="$QEMU $EFI \
-virtfs local,path=$SHARE,mount_tag=hostdir,security_model=mapped,id=hostdir
"
[ "$REDIRUSB" ] && usbDev="$(checkUSB)"
[ "$REDIRUSB" == "yes" ] && usbDev="$(checkUSB)"
[ "$ACTION" == 'install' ] && INSTALL="-drive file=$qImg,cache=none"