We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0e56a8 commit 6f66363Copy full SHA for 6f66363
1 file changed
scripts/e2e/opencode-autoconnect.sh
@@ -128,7 +128,8 @@ EOF_ENV
128
129
# Auto-open SSH happens only in an interactive TTY; wrap with `script` to allocate a pseudo-TTY.
130
command -v script >/dev/null 2>&1 || fail "missing 'script' command (util-linux)"
131
-rm -f "$SSH_LOG_PATH"
+: > "$SSH_LOG_PATH"
132
+chmod 0666 "$SSH_LOG_PATH" || true
133
script -q -e -c "pnpm run docker-git clone \"$REPO_URL\" --force --ssh-port \"$SSH_PORT\" --out-dir \"$OUT_DIR_REL\" --container-name \"$CONTAINER_NAME\" --service-name \"$SERVICE_NAME\" --volume-name \"$VOLUME_NAME\"" /dev/null
134
135
[[ -s "$SSH_LOG_PATH" ]] || fail "expected ssh to be invoked; log is empty: $SSH_LOG_PATH"
0 commit comments