mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 01:10:01 +01:00
Correctly quote variable being tested.
This commit is contained in:
@@ -682,7 +682,7 @@ vm::bhyve_device_sound(){
|
||||
if config::yesno "sound"; then
|
||||
_devices="${_devices} -s ${_slot}:0,hda,play=${_play}"
|
||||
|
||||
if [ -n ${_rec} ]; then
|
||||
if [ -n "${_rec}" ]; then
|
||||
_devices="${_devices},rec=${_rec}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user