mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-21 14:11:26 +00:00
fix: escape tahoe update trap vars
This commit is contained in:
@@ -671,7 +671,7 @@ run_logged_guest_current_user_sh() {
|
||||
runner_body="$(cat <<EOF
|
||||
set -eu
|
||||
set -o pipefail
|
||||
trap 'status=$?; printf "%s\n" "$status" > "$done_path"; exit "$status"' EXIT
|
||||
trap 'status=\$?; printf "%s\n" "\$status" > "$done_path"; exit "\$status"' EXIT
|
||||
umask 022
|
||||
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:/usr/bin:/bin:/usr/sbin:/sbin:\${PATH:-}"
|
||||
if [ -z "\${HOME:-}" ]; then export HOME="/Users/\$(id -un)"; fi
|
||||
|
||||
Reference in New Issue
Block a user