GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ssh): report a failed home lookup instead of exiting silently · pingdotgg/t3code@7832302

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/ssh/src
    • tunnel.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/ssh/src/tunnel.ts‎

Copy file name to clipboardExpand all lines: packages/ssh/src/tunnel.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ while ! (set -C; printf '%s\\n' "$$" >"$LAUNCH_LOCK") 2>/dev/null; do
626626
done
627627
# Resolve with the new runner before replacing the old one: a failed home
628628
# change must not consume the runner-change signal used for future updates.
629-
DEFAULT_SERVER_HOME="$("$RUNNER_NEXT" __ssh-helper home-dir)"
629+
DEFAULT_SERVER_HOME="$("$RUNNER_NEXT" __ssh-helper home-dir)" || DEFAULT_SERVER_HOME=""
630630
if [ -z "$DEFAULT_SERVER_HOME" ]; then
631631
printf 'Could not resolve the remote T3 home.\\n' >&2
632632
exit 1
@@ -866,7 +866,7 @@ chmod 700 "$RUNNER_FILE"
866866
if [ -f "$STATE_DIR/server-home" ]; then
867867
PAIRING_BASE_DIR="$(cat "$STATE_DIR/server-home")"
868868
else
869-
PAIRING_BASE_DIR="$("$RUNNER_FILE" __ssh-helper home-dir)"
869+
PAIRING_BASE_DIR="$("$RUNNER_FILE" __ssh-helper home-dir)" || PAIRING_BASE_DIR=""
870870
fi
871871
if [ -z "$PAIRING_BASE_DIR" ]; then
872872
printf 'Could not resolve the remote T3 home for pairing.\\n' >&2

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.