From 717306e01f39d075d1fc925c54d723aac8bbe452 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Fri, 29 Jul 2022 01:03:01 -0600 Subject: [PATCH] only list with option 1 --- functions/mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mount.sh b/functions/mount.sh index 8082d0f8..422a10e3 100644 --- a/functions/mount.sh +++ b/functions/mount.sh @@ -10,13 +10,13 @@ do echo echo "0) Exit" read -rt 120 -p "Unmount All Please type a number: " selection - list=$(k3s kubectl get pvc -A | sort -u | awk '{print NR-1, "\t" $1 "\t" $2 "\t" $4}' | column -t | sed "s/^0/ /") case $selection in 0) echo "Exiting.." exit ;; 1) + list=$(k3s kubectl get pvc -A | sort -u | awk '{print NR-1, "\t" $1 "\t" $2 "\t" $4}' | column -t | sed "s/^0/ /") while true do clear -x