diff --git a/sh/rescue/hetzner.sh b/sh/rescue/hetzner.sh index 36dc2ea..9de13db 100644 --- a/sh/rescue/hetzner.sh +++ b/sh/rescue/hetzner.sh @@ -9,7 +9,7 @@ rescue_wipe_0_init_hetzner_8_8() { # read passphrase passphrase="$(read_passphrase)" # warn - warn_wipe "${@}" + sh_warn_wipe "${@}" # number=0 for device in "${@}"; do diff --git a/sh/rescue/ovh.sh b/sh/rescue/ovh.sh index 4a54f64..e7e2ea8 100644 --- a/sh/rescue/ovh.sh +++ b/sh/rescue/ovh.sh @@ -4,7 +4,7 @@ rescue_wipe_0_init_ovh_vle2() { # read passphrase passphrase="$(read_passphrase)" # warn - warn_wipe "${device}" + sh_warn_wipe "${device}" # parted --script "${device}" \ mktable gpt \ diff --git a/sh/util.sh b/sh/util.sh index 2f2b400..05eb5d2 100644 --- a/sh/util.sh +++ b/sh/util.sh @@ -28,7 +28,7 @@ read_secret() { unset secret } -warn_wipe() { +sh_warn_wipe() { local tmp list_block_devices printf "%s" "WIPE ${*} /?\\ OR CANCEL /!\\"