Skip to content

Commit a764f0e

Browse files
committed
fix(install): register local gateway before probing listener
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent b8e8743 commit a764f0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install-dev.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ start_user_gateway() {
416416
as_target_user systemctl --user restart openshell-gateway
417417
as_target_user systemctl --user is-active --quiet openshell-gateway
418418

419-
wait_for_local_gateway_listener
420419
info "registering local gateway as ${TARGET_USER}..."
421420
register_local_gateway
421+
wait_for_local_gateway_listener
422422
wait_for_local_gateway_status
423423
}
424424

@@ -661,9 +661,9 @@ install_macos_homebrew() {
661661
OPENSHELL_REGISTER_BIN="${_brew_prefix}/bin/openshell"
662662
fi
663663

664-
wait_for_local_gateway_listener
665664
info "registering local gateway as ${TARGET_USER}..."
666665
register_local_gateway
666+
wait_for_local_gateway_listener
667667
wait_for_local_gateway_status
668668
}
669669

0 commit comments

Comments
 (0)