Bedingung zur Erkennug der Platten geändert.
This commit is contained in:
parent
09876ec680
commit
04e14e2348
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue