Update common.sh

This commit is contained in:
wnlen
2026-04-09 17:40:38 +08:00
parent 1c6d414228
commit 2b4c869aea
+1 -1
View File
@@ -2163,7 +2163,7 @@ install_clashctl_entry() {
cat > "$bin_target" <<EOF
#!/usr/bin/env bash
set -euo pipefail
exec "$PROJECT_DIR/scripts/core/clashctl.sh" "\$@"
exec bash "$PROJECT_DIR/scripts/core/clashctl.sh" "\$@"
EOF
chmod +x "$bin_target"