From 0b0bce29dd7da1f03336c9fc8fde90730f96ca7f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 27 Jul 2025 19:06:50 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92dupe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/util.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sh/util.sh b/sh/util.sh index bc4b25e..b396901 100644 --- a/sh/util.sh +++ b/sh/util.sh @@ -2,12 +2,7 @@ # │ util │ # ╰──────╯ -rwx_list_block_devices() { - lsblk \ - --noempty \ - --output "NAME,SIZE,TYPE,FSTYPE,LABEL,MOUNTPOINTS" -} - +# TODO awk rwx_not() { case "${1}" in "false") echo "true" ;; @@ -48,7 +43,7 @@ rwx_root() { rwx_warn_wipe() { local tmp - rwx_list_block_devices + rwx_list_block printf "%s" "WIPE ${*} /?\\ OR CANCEL /!\\" read -r tmp rwx_log_trace "${tmp}"