From 20b55311f10ac2a44ac2c321404501c6c4afea04 Mon Sep 17 00:00:00 2001 From: alexz Date: Fri, 19 Dec 2025 08:16:07 +0000 Subject: [PATCH] rego-tunnel: fix exit 0 causing container restart loop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed exit 0 to return 0 in vpn_scripts/start.sh. When the script is sourced via entrypoint, exit terminates the parent shell before the Windows VM entry.sh can run. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- apps/rego-tunnel/vpn_scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/rego-tunnel/vpn_scripts/start.sh b/apps/rego-tunnel/vpn_scripts/start.sh index 6016e1b..3be8f24 100755 --- a/apps/rego-tunnel/vpn_scripts/start.sh +++ b/apps/rego-tunnel/vpn_scripts/start.sh @@ -110,4 +110,4 @@ get_container_ip() { echo "[rego-tunnel] SOCKS5 proxy available at $CONTAINER_IP:1080" ) & -exit 0 +return 0