Bedingung zur Erkennug der Platten geändert.

This commit is contained in:
eichehome 2023-07-26 01:12:30 +02:00
parent 09876ec680
commit 04e14e2348

View file

@ -14,7 +14,7 @@ ESP_LABEL="EFI"
CHECK_PARTITION_EXISTENCE_OUTPUT=$(lsblk -pldo NAME | grep -ic "${DRIVE}")
if [[ ${CHECK_PARTITION_EXISTENCE_OUTPUT} -eq 1 ]]; then
if [[ ${CHECK_PARTITION_EXISTENCE_OUTPUT} -eq 0 ]]; then
echo "Platte existiert nicht, Abbruch!"
exit 1
else