diff --git a/scripts/openvpn/removeOVPN.sh b/scripts/openvpn/removeOVPN.sh index d8e1061..475140a 100755 --- a/scripts/openvpn/removeOVPN.sh +++ b/scripts/openvpn/removeOVPN.sh @@ -63,7 +63,7 @@ if [[ -z "${CERTS_TO_REVOKE}" ]]; then i=1 len=${#CERTS[@]} while [ $i -le ${len} ]; do - printf "[%0${#len}s] %s\r\n" ${i} ${CERTS[(($i))]} + printf "%0${#len}s) %s\r\n" ${i} ${CERTS[(($i))]} ((i++)) done printf "\n" diff --git a/scripts/wireguard/qrcodeCONF.sh b/scripts/wireguard/qrcodeCONF.sh index 0000a69..6d980fe 100755 --- a/scripts/wireguard/qrcodeCONF.sh +++ b/scripts/wireguard/qrcodeCONF.sh @@ -40,7 +40,7 @@ if [ "${#CLIENTS_TO_SHOW[@]}" -eq 0 ]; then len=${#LIST[@]} COUNTER=1 while [ $COUNTER -le ${len} ]; do - printf "[%0${#len}s] %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]} + printf "%0${#len}s) %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]} ((COUNTER++)) done diff --git a/scripts/wireguard/removeCONF.sh b/scripts/wireguard/removeCONF.sh index 5cd325c..33967b9 100755 --- a/scripts/wireguard/removeCONF.sh +++ b/scripts/wireguard/removeCONF.sh @@ -48,7 +48,7 @@ if [ "${#CLIENTS_TO_REMOVE[@]}" -eq 0 ]; then len=${#LIST[@]} COUNTER=1 while [ $COUNTER -le ${len} ]; do - printf "[%0${#len}s] %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]} + printf "%0${#len}s) %s\r\n" ${COUNTER} ${LIST[(($COUNTER-1))]} ((COUNTER++)) done