From 86db452e72c25e0ad76d0ae1ad61378eeb9e9fc7 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 20 Nov 2024 10:11:02 +0100 Subject: [PATCH] list_block_devices --- sh/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/util.sh b/sh/util.sh index 0454ba8..3f1c614 100644 --- a/sh/util.sh +++ b/sh/util.sh @@ -1,4 +1,4 @@ -list_block_devices() { +sh_list_block_devices() { lsblk \ --noempty \ --output "NAME,SIZE,TYPE,FSTYPE,LABEL,MOUNTPOINTS" @@ -30,7 +30,7 @@ sh_read_secret() { sh_warn_wipe() { local tmp - list_block_devices + sh_list_block_devices printf "%s" "WIPE ${*} /?\\ OR CANCEL /!\\" read -r tmp sh_log_trace "${tmp}"