scripts/InstallScripts/InstallPrawnOS.sh: fix shellcheck SC2053 'Quote the right-hand side of == in [[ ]] to prevent glob matching.'
This commit is contained in:
parent
9ed8e86ab1
commit
56aff1dfc2
@ -71,7 +71,7 @@ install() {
|
|||||||
TARGET=/dev/sda
|
TARGET=/dev/sda
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ $TARGET == $BOOT_DEVICE ]]
|
if [[ "$TARGET" == "$BOOT_DEVICE" ]]
|
||||||
then
|
then
|
||||||
echo "Can't install to booted device, please ensure you have *only* the booted device and target device inserted"
|
echo "Can't install to booted device, please ensure you have *only* the booted device and target device inserted"
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user