scripts/InstallScripts/InstallPrawnOS.sh: fix shellcheck SC2053 'Quote the right-hand side of == in [[ ]] to prevent glob matching.'

This commit is contained in:
Austin English 2020-05-20 17:10:16 -05:00
parent 9ed8e86ab1
commit 56aff1dfc2

View File

@ -71,7 +71,7 @@ install() {
TARGET=/dev/sda
fi
fi
if [[ $TARGET == $BOOT_DEVICE ]]
if [[ "$TARGET" == "$BOOT_DEVICE" ]]
then
echo "Can't install to booted device, please ensure you have *only* the booted device and target device inserted"
exit