From dc5fd00681a335f2982c82986dfe542059a9187e Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Wed, 10 Aug 2022 17:04:46 -0600 Subject: [PATCH] expand by row --- functions/cmd_to_container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/cmd_to_container.sh b/functions/cmd_to_container.sh index 9b30bbe1..0362dead 100644 --- a/functions/cmd_to_container.sh +++ b/functions/cmd_to_container.sh @@ -55,7 +55,7 @@ else if [[ $selection == 0 ]]; then echo "Exiting.." exit - elif ! echo -e "${containers[*]}" | nl -s ") " | grep -qs ^"$selection)" ; then + elif ! echo -e "${containers[@]}" | nl -s ") " | grep -qs ^"$selection)" ; then echo "Error: \"$selection\" was not an option.. Try again" sleep 3 continue