Bei der For-Schleife den Schleifenkopf von unnötigen Zeichen befreit.

This commit is contained in:
eichehome 2023-07-21 14:46:32 +02:00
parent 1531c517b9
commit 0d839ab407

View file

@ -112,7 +112,7 @@ if [[ $NOCASEMATCH_UNSET ]]; then
shopt -s nocasematch
fi
for (( i=${NUMBER_OF_PARTITIONS}; ${i} > 0 ; i=${i}-1 )) ; do
for (( i=NUMBER_OF_PARTITIONS; i > 0 ; i=i-1 )) ; do
OUTPUT=$(sgdisk -i "${i}" "${DRIVE}")
PARTITION_EXISTS=$(echo "${OUTPUT}" | grep -c "GUID")
if [[ "${PARTITION_EXISTS}" != "0" ]]; then