fix script
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2026-01-17 02:12:39 +00:00
parent e5d4b4d2e5
commit e4b648e447

View File

@@ -714,7 +714,15 @@ if [ "$DO_DISCONNECT" = "true" ]; then
fi fi
if [ "$DO_CONNECT" = "true" ]; then if [ "$DO_CONNECT" = "true" ]; then
start_anyconnect "$( [ "$SKIP_AUTO_LOGIN" = "true" ] && echo "false" || echo "true" )" echo -e "${CYAN}========================================${NC}"
echo -e "${CYAN} Dover VPN Connection Script ${NC}"
echo -e "${CYAN}========================================${NC}"
echo ""
if [ "$SKIP_AUTO_LOGIN" = "true" ]; then
start_anyconnect "false"
else
start_anyconnect "true"
fi
exit $? exit $?
fi fi
@@ -744,7 +752,11 @@ while true; do
echo "" echo ""
case $choice in case $choice in
1) start_anyconnect "$( [ "$SKIP_AUTO_LOGIN" = "true" ] && echo "false" || echo "true" )" ;; 1) if [ "$SKIP_AUTO_LOGIN" = "true" ]; then
start_anyconnect "false"
else
start_anyconnect "true"
fi
2) copy_to_clipboard ;; 2) copy_to_clipboard ;;
3) show_totp ;; 3) show_totp ;;
4) setup_forwarding ;; 4) setup_forwarding ;;