diff --git a/test.uefi b/test.uefi index 9420c3f..b823b30 100644 --- a/test.uefi +++ b/test.uefi @@ -41,18 +41,18 @@ PARTITIONS_PRESENT+=([ROOT]="${CHECK_ROOT}") echo "ESP: ${CHECK_ESP}, USR: ${CHECK_USR}, USRHASH: ${CHECK_USRHASH}, ROOT: ${CHECK_ROOT}" -if [[ ${PARTITIONS_PRESENT[ROOT]} ]]; then +if [[ ${PARTITIONS_PRESENT[ROOT]} -eq 1 ]]; then echo "Root-Partition vorhanden." fi -if [[ ${PARTITIONS_PRESENT[USR]} ]]; then +if [[ ${PARTITIONS_PRESENT[USR]} -eq 1 ]]; then echo "/usr-Partition vorhanden." fi -if [[ ${PARTITIONS_PRESENT[USRHASH]} ]]; then +if [[ ${PARTITIONS_PRESENT[USRHASH]} -eq 1 ]]; then echo "/usr-Verity-Partition vorhanden." fi -if [[ ${PARTITIONS_PRESENT[ESP]} ]]; then +if [[ ${PARTITIONS_PRESENT[ESP]} -eq 1 ]]; then echo "ESP-Partition vorhanden." fi \ No newline at end of file