mirror of
https://github.com/wnlen/clash-for-linux.git
synced 2026-10-10 12:13:04 +08:00
Update common.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user