From d028d83f7ac722463347eacbc267b528fd37de90 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 13 Nov 2024 13:54:13 +0100 Subject: [PATCH] number --- bash/rescue-hetzner.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bash/rescue-hetzner.sh b/bash/rescue-hetzner.sh index 81930b4..ee68157 100644 --- a/bash/rescue-hetzner.sh +++ b/bash/rescue-hetzner.sh @@ -16,7 +16,7 @@ rescue_wipe_0_init_hetzner_8_8() { # number=0 for device in "${devices[@]}"; do - ((number++)) + number=$((number + 1)) echo echo "#${number}: ${device}" # @@ -33,7 +33,7 @@ rescue_wipe_0_init_hetzner_8_8() { # number=0 for device in "${devices[@]}"; do - ((number++)) + number=$((number + 1)) echo echo "#${number}: ${device}4" # wipe bios @@ -42,7 +42,7 @@ rescue_wipe_0_init_hetzner_8_8() { # number=0 for device in "${devices[@]}"; do - ((number++)) + number=$((number + 1)) echo echo "#${number}: ${device}3" # format esp @@ -55,7 +55,7 @@ rescue_wipe_0_init_hetzner_8_8() { # number=0 for device in "${devices[@]}"; do - ((number++)) + number=$((number + 1)) echo echo "#${number}: ${device}2" # wipe boot @@ -85,7 +85,7 @@ rescue_wipe_0_init_hetzner_8_8() { # number=0 for device in "${devices[@]}"; do - ((number++)) + number=$((number + 1)) echo echo "#${number}: ${device}1" # wipe crypt head