diff --git a/multios-usb.sh b/multios-usb.sh index 0018b24..1f53e6e 100755 --- a/multios-usb.sh +++ b/multios-usb.sh @@ -248,11 +248,10 @@ esac # Check for required software [ "$fs_type" = "fat32" ] && fs_prog="mkfs.fat" || fs_prog="mkfs.$fs_type" for cmd in dd tar xz sgdisk wipefs "$fs_prog"; do - # shellcheck disable=SC2086 - if [ ! -x "$(command -v ${cmd} 2>/dev/null)" ]; then - echo "${cmd} is required but not installed. Exiting" - exit 1 - fi + if [ ! -x "$(command -v "$cmd" 2>/dev/null)" ]; then + echo "$cmd is required but not installed. Exiting" + exit 1 + fi done # Check for root