From 3be3cbcdaeb2dac311c1bedeb3551541b07f37b1 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 21 May 2022 07:11:10 -0400 Subject: [PATCH] Update create_lxc.sh --- ct/create_lxc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index 219ace7d..5bcce863 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -58,7 +58,7 @@ function select_storage() { done < <(pvesm status -content $CONTENT | awk 'NR>1') if [ $((${#MENU[@]}/3)) -eq 0 ]; then - warn "'$CONTENT_LABEL' needs to be selected for at least one storage location." + echo -e "'$CONTENT_LABEL' needs to be selected for at least one storage location." die "Unable to detect valid storage location." elif [ $((${#MENU[@]}/3)) -eq 1 ]; then printf ${MENU[0]} @@ -80,7 +80,7 @@ function select_storage() { [ "$CTID" -ge "100" ] || die "ID cannot be less than 100." if pct status $CTID &>/dev/null; then - warn "ID '$CTID' is already in use." + echo -e "ID '$CTID' is already in use." unset CTID die "Cannot use ID that is already in use." fi